We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
把package.json改为这样:
{ "name": "angular2App", "version": "1.0.0", "description": "Default template for fis angular 2 app.", "main": "index.js", "scripts": { "release": "fis3 release", "server.start": "fis3 server start", "server.stop": "fis3 server stop", "server.clean": "fis3 server clean", "server.clear": "fis3 server stop && fis3 server clean", "start": "npm run server.start && npm run release", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/fis-scaffold/angular2-app.git" }, "keywords": [ "fis", "scaffold" ], "author": "fex", "license": "BSD", "bugs": { "url": "https://github.com/fis-scaffold/angular2-app/issues" }, "homepage": "https://github.com/fis-scaffold/angular2-app", "dependencies": { "fis3": "^3.4.13", "fis3-hook-system": "^0.1.1", "fis3-parser-typescript": "^0.1.2", "fis3-postpackager-loader": "^1.3.6" } }
npm i然后运行npm start后,打开浏览器页面报2个404错误:
npm i
npm start
Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1:8080/angular2/angular2.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1:8080/angular2/angular2
The text was updated successfully, but these errors were encountered:
建议更新项目,使得fis3支持angular2的rc版的引入和编译,做一个比较完备的angular2的脚手架
Sorry, something went wrong.
已经换成 npm + mod.js 了
赞
No branches or pull requests
把package.json改为这样:
npm i
然后运行npm start
后,打开浏览器页面报2个404错误:Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:8080/angular2/angular2.js
Failed to load resource: the server responded with a status of 404 (Not Found)
http://127.0.0.1:8080/angular2/angular2
The text was updated successfully, but these errors were encountered: