aboutsummaryrefslogtreecommitdiff
path: root/TJLaskuri.Web/TJLaskuri.Web.fsproj
diff options
context:
space:
mode:
authorJoel Stålnacke <joel@saker.fi>2025-08-02 18:25:14 +0300
committerJoel Stålnacke <joel@saker.fi>2025-08-02 18:25:14 +0300
commit6b46930cfd23c59a359460c84085e9333aea4521 (patch)
tree9d1d11838ee4e836c0338ef1ab338fe234fc7f4b /TJLaskuri.Web/TJLaskuri.Web.fsproj
parent40525e4f0ff494a3b5bf9cebad5d00ac25a3d840 (diff)
Initial frontend
Diffstat (limited to 'TJLaskuri.Web/TJLaskuri.Web.fsproj')
-rw-r--r--TJLaskuri.Web/TJLaskuri.Web.fsproj39
1 files changed, 26 insertions, 13 deletions
diff --git a/TJLaskuri.Web/TJLaskuri.Web.fsproj b/TJLaskuri.Web/TJLaskuri.Web.fsproj
index 6ddf66a..6cd0654 100644
--- a/TJLaskuri.Web/TJLaskuri.Web.fsproj
+++ b/TJLaskuri.Web/TJLaskuri.Web.fsproj
@@ -1,15 +1,28 @@
-<Project Sdk="Microsoft.NET.Sdk.Web">
-
- <PropertyGroup>
- <TargetFramework>net9.0</TargetFramework>
- </PropertyGroup>
-
- <ItemGroup>
- <Compile Include="Program.fs" />
- </ItemGroup>
-
+<Project Sdk="Microsoft.NET.Sdk.Web">
+
+ <PropertyGroup>
+ <TargetFramework>net9.0</TargetFramework>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Compile Include="Modules/Index.fs" />
+ <Compile Include="Program.fs" />
+ </ItemGroup>
+
<ItemGroup>
<ProjectReference Include="..\TJLaskuri.Core\TJLaskuri.Core.fsproj" />
- </ItemGroup>
-
-</Project>
+ </ItemGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Falco" Version="5.0.2" />
+ </ItemGroup>
+
+ <Target Name="CopyStaticAssets" BeforeTargets="Build">
+ <Message Text="Copying static assets" />
+ <Copy
+ SourceFiles="../TJLaskuri.Frontend/dist/index.js"
+ DestinationFiles="wwwroot/js/app.js"
+ />
+ </Target>
+
+</Project>