在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"
}
}
}