setup and working
This commit is contained in:
parent
bd3a93d628
commit
e4f72b5c9e
@ -12,6 +12,6 @@ module Client =
|
|||||||
[<SPAEntryPoint>]
|
[<SPAEntryPoint>]
|
||||||
let Main () =
|
let Main () =
|
||||||
div [] [
|
div [] [
|
||||||
p [] [ text "hello world" ]
|
p [] [ text "hello world!" ]
|
||||||
]
|
]
|
||||||
|> Doc.RunById "main"
|
|> Doc.RunById "main"
|
||||||
|
|||||||
@ -30,7 +30,7 @@ let main args =
|
|||||||
app
|
app
|
||||||
.UseHttpsRedirection()
|
.UseHttpsRedirection()
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// .UseWebSharperScriptRedirect(startVite = true)
|
.UseWebSharperScriptRedirect(startVite = true)
|
||||||
#endif
|
#endif
|
||||||
.UseDefaultFiles()
|
.UseDefaultFiles()
|
||||||
.UseStaticFiles()
|
.UseStaticFiles()
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
build: {
|
build: {
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: [
|
input: [
|
||||||
"./Scripts/web_api_cookbook.min.js"
|
"./wwwroot/Scripts/web_api_cookbook.min.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,10 @@
|
|||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||||
|
<WebSharperSourceMap>True</WebSharperSourceMap>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Client.fs" />
|
<Compile Include="Client.fs" />
|
||||||
<Compile Include="Startup.fs" />
|
<Compile Include="Startup.fs" />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user