不完善,待修改。
初始化Ember项目命令ember init;
1、修改bower.json和package.json文件,将name改成自己的路径名(例如mobile);
2、修改config文件夹下的environment.js文件,修改modulePrefix: 'mobile'和baseURL: '/mobile'两个属性。
代理项目
ember server --proxy=http://localhost:8081
不完善,待修改。
初始化Ember项目命令ember init;
1、修改bower.json和package.json文件,将name改成自己的路径名(例如mobile);
2、修改config文件夹下的environment.js文件,修改modulePrefix: 'mobile'和baseURL: '/mobile'两个属性。
代理项目
ember server --proxy=http://localhost:8081
本文标题:Ember项目相关
本文链接:https://www.haomeiwen.com/subject/dhvjqxtx.html
网友评论