angular-英雄指南

在angular官网上下载了英雄指南toh-1,执行了npm install之后,在执行npm start,会出现404 GET /index.html 的错误,console输出如下,

详情见http://blog.csdn.net/qq_26030709/article/details/71024408

npm start启动的时候提示‘没有bs-config.json,将使用默认配置’。
在该目录下创建bs-config.json

{
  "server": {
    "baseDir": "src",
    "routes": {
      "/node_modules": "node_modules"
    }
  }
}




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章