Commit da7085ef authored by lipengcheng 's avatar lipengcheng

init

parent 2f4f5b46
# laihua-toolkit # laihua-toolkit
> node 12.18.3
> npm 6.14.6
来画工具宝。
## Project setup ## Project setup
``` ```
yarn install npm install
```
### 本地开发
```
npm run serve
```
### 测试环境打包
```
npm run passports
``` ```
### Compiles and hot-reloads for development ### 生产环境打包
``` ```
yarn run serve npm run build
``` ```
### Compiles and minifies for production ### 打包后本地预览
``` ```
yarn run build npm run start
``` ```
### Run your tests ### 格式校验及自动修复
修复eslint报错:
``` ```
yarn run test npm run fix
``` ```
### Lints and fixes files 修复prettier报错
``` ```
yarn run lint npm run prettier
``` ```
### Customize configuration ### Customize configuration
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
"node-sass": "^4.12.0", "node-sass": "^4.12.0",
"prettier": "^1.19.1", "prettier": "^1.19.1",
"sass-loader": "^8.0.2", "sass-loader": "^8.0.2",
"serve": "^11.3.2",
"standard-version": "^9.0.0", "standard-version": "^9.0.0",
"vue-template-compiler": "^2.6.11" "vue-template-compiler": "^2.6.11"
} }
......
console.log(`process.env1:`, process.env) // console.log(`process.env1:`, process.env)
console.log(`process.env.NODE_ENV1:`, process.env.NODE_ENV) console.log(`process.env.NODE_ENV1:`, process.env.NODE_ENV)
// dsf // dsf
//dfdfdfsdf //dfdfdfsdf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment