{
// 使用 IntelliSense 以得知可用的屬性。
// 暫留以檢視現有屬性的描述。
// 如需詳細資訊,請瀏覽: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "啟動程式",
"program": "${workspaceFolder}\\server.ls"
}
]
}
想請問,我只是想純粹做網頁要在瀏覽器看,因為沒有用node.js,不知道有沒有什麼指令可以直接在瀏覽器瀏覽做的網頁,謝謝
如果你是在.net core,用
dotnet run
這個指令,注意指令提示的網址,通常是localhost:5000
然後在瀏覽器輸入http://localhost:5000/
就可以了