Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eightfeet/olympicsdisney
https://github.com/eightfeet/olympicsdisney
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/eightfeet/olympicsdisney
- Owner: eightfeet
- Created: 2016-06-27T03:01:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-27T03:17:19.000Z (over 8 years ago)
- Last Synced: 2024-04-16T01:08:28.803Z (7 months ago)
- Language: Vue
- Size: 3.55 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# protest
> A Vue.js project
## Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:8080
npm run dev# build for production with minification
npm run build# run unit tests
npm run unit# run e2e tests
npm run e2e# run all tests
npm test
```1.接口代理:config/index.js;
2.代码检查,新增代码结束必须添加分号:.eslintrc.js;
``` javascript
module.exports = {
root: true,
parserOptions: {
sourceType: 'module'
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// 要求分号
"semi": [2, "always"]
}
}```