且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到模块:错误:无法解析"@ angular/core"

更新时间:2022-03-01 10:35:47

使用以下步骤,如自述文件所述.

Use the following steps as they explained it in the README file.

克隆存储库

git clone --depth 1 https://github.com/angularclass/angular2-webpack-starter.git

将目录更改为项目的根目录

cd angular2-webpack-starter

使用npm安装存储库

npm install

启动服务器

npm start

现在打开浏览器并输入URL http://localhost:3000

Now open browser and type the url http://localhost:3000