The project is working for XXXX that is in charge of frontend engineer.
The main features of the platform consist of 'XXXX, 'XXX' and so on.
- Clone it from gitlab to your local.
git clone XXX
- Use npm to install dependencies, make sure your node version >= 6.
npm install
- Open the auto compiler, and you can get more info from cmd.
npm run dev
- Open the node server, and the default server port is 1700.
npm run mock
There are four envs for public. You can use option to set diff envs.
npm run build:[option]
option: use to describe the public env.
Recognised type values are: qa, test, ali and aws
-
You must optimize the config in /src/assets/js/tools.js:20-31.
-
The url matched the env is significant to ajax.