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