Skip to content

Commit

Permalink
Merge pull request #5 from thierryxing/vue-cli-3.0
Browse files Browse the repository at this point in the history
vue cli 3.0 support
  • Loading branch information
thierryxing authored Oct 23, 2018
2 parents f1bc6c4 + 5e2a995 commit 969012b
Show file tree
Hide file tree
Showing 32 changed files with 15,841 additions and 710 deletions.
14 changes: 0 additions & 14 deletions .babelrc

This file was deleted.

35 changes: 18 additions & 17 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
// https://eslint.org/docs/user-guide/configuring

module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
'extends': [
'airbnb-base',
'plugin:vue/essential',
'eslint:recommended'
],
// add your custom rules here
'rules': {
rules: {
'import/extensions': ['off', 'always', {
'vue': 'never'
}],
'import/no-unresolved': ['off', 'always', {
'vue': 'never'
}],
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'no-unused-vars': 0,
'no-trailing-spaces': 0,
'indent': 0,
'semi': 0,
'object-property-newline': 0,
'space-before-function-paren': 0
'space-before-function-paren': 0,
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}

5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/app'
]
}
35 changes: 0 additions & 35 deletions build/build.js

This file was deleted.

48 changes: 0 additions & 48 deletions build/check-versions.js

This file was deleted.

9 changes: 0 additions & 9 deletions build/dev-client.js

This file was deleted.

89 changes: 0 additions & 89 deletions build/dev-server.js

This file was deleted.

71 changes: 0 additions & 71 deletions build/utils.js

This file was deleted.

12 changes: 0 additions & 12 deletions build/vue-loader.conf.js

This file was deleted.

Loading

0 comments on commit 969012b

Please sign in to comment.