npm install
若 npm 源不可用,可替换为
npm install --registry=https://registry.npm.taobao.org
在项目目录下运行
npm start
在浏览器中打开 http://localhost:3000 查看运行后的页面.
npm run build
构建出项目产物,以供部署
| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm install
若 npm 源不可用,可替换为
npm install --registry=https://registry.npm.taobao.org
在项目目录下运行
npm start
在浏览器中打开 http://localhost:3000 查看运行后的页面.
npm run build
构建出项目产物,以供部署