wit template app generator
First, install Yeoman and generator-wit-app using npm (we assume you have pre-installed node.js) The template application refers web_gui_core, please install its global dependencies.
请安装node的环境及配置好npm私有服务器,安装Yeoman及所需的全局包:
npm config set strict-ssl false
npm config set registry=http://192.168.5.13:4873
npm install -g babel-cli webpack karma-cli webpack-dev-server
npm install -g yo
npm install -g generator-wit-app
Then generate your new project with your options:
根据输入的参数,生成新的项目:
yo wit-app
Go your application folder and run it:
运行:
npm start
By default, you can see it with http://localhost:9090, login user is ZHANGZH/aaaaa333
默认地址为:http://localhost:9090, 用户名密码是:ZHANGZH/aaaaa333
MIT © WIT Group