我是 F# 编程新手,
现在我尝试用 F# 和 Suave 制作网页然后我从这个链接开始
我有一个问题,我不能在我的项目中使用 css(见图片)
文件 View.fs
let index container =
html [] [
head [] [
title [] "Suave Music Store"
cssLink "/Site.css"
]
body [] [
div ["id", "header"] [
tag "h1" [] [
a Path.home [] [Text "F# Suave Music Store"]
]
]
div ["id", "main"] [
div ["id", "box"] [
a Path.Store.browse [] [Text "Test Link"]
tag "h1" [] [
a "http://www.google.com" [] [Text "Google"]
]
]
]
div ["id", "footer"] [
Text "built with "
a "http://fsharp.org" [] [Text "F#"]
Text " and "
a "http://suave.io" [] [Text "Suave.IO"]
]
]
]
|> htmlToString
和文件 Site.css 中的#box
#box
{
border:4px solid #000;
}
我该如何解决?