【文件属性】:
文件名称:food-app:唯一的食品应用程序
文件大小:280KB
文件格式:ZIP
更新时间:2021-07-03 12:03:09
JavaScript
食品应用
唯一的食品应用程序
安装
npm install
grunt build
构建应用程序会将应用程序部署到 /dist 文件夹中。
您还需要修改: 1) .htaccess / web.config 文件,以便重写规则与 index.html 的路径匹配 2) src/index.html 中的 base href(与 1 相同的值)) 3) api url(在 src/app.js 中),假设节点服务器驻留在其他地方。