Created
August 20, 2019 21:52
-
-
Save Stayer/ab1bcf80342998e9e384e0da87879147 to your computer and use it in GitHub Desktop.
frontend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends: plugin:vue/recommended | |
rules: | |
"no-console": "off" | |
parserOptions: | |
parser: babel-eslint | |
ecmaVersion: 2017 | |
sourceType: module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
presets: [ '@vue/app' ], | |
plugins: [ | |
[ | |
"import", | |
{ libraryName: "ant-design-vue", libraryDirectory: "es", style: true } | |
], | |
["@babel/plugin-syntax-dynamic-import"] | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "client", | |
"version": "0.1.0", | |
"private": true, | |
"scripts": { | |
"serve": "vue-cli-service serve", | |
"build": "vue-cli-service build", | |
"lint": "vue-cli-service lint" | |
}, | |
"dependencies": { | |
"@vue/cli": "^3.10.0", | |
"ant-design-vue": "^1.3.10", | |
"axios": "^0.18.1", | |
"core-js": "^2.6.9", | |
"jsonlib_frontend": "^3.0.0", | |
"node-emoji": "^1.10.0", | |
"vue": "^2.6.10", | |
"vue-moment": "^4.0.0", | |
"vue-router": "^3.0.7", | |
"vue-web3": "^2.1.0", | |
"vuex": "^3.1.1", | |
"web3": "^1.2.1" | |
}, | |
"devDependencies": { | |
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | |
"@vue/cli-plugin-babel": "^3.9.0", | |
"@vue/cli-plugin-eslint": "^3.9.1", | |
"@vue/cli-service": "^3.9.0", | |
"babel-eslint": "^10.0.2", | |
"babel-plugin-import": "^1.12.0", | |
"eslint": "^6.1.0", | |
"eslint-config-standard": "^12.0.0", | |
"eslint-plugin-import": "^2.18.0", | |
"eslint-plugin-node": "^9.1.0", | |
"eslint-plugin-promise": "^4.2.1", | |
"eslint-plugin-standard": "^4.0.0", | |
"eslint-plugin-vue": "^5.2.3", | |
"less": "^3.9.0", | |
"less-loader": "^5.0.0", | |
"vue-template-compiler": "^2.5.21" | |
}, | |
"eslintConfig": { | |
"root": true, | |
"env": { | |
"node": true | |
}, | |
"extends": [ | |
"plugin:vue/essential", | |
"eslint:recommended" | |
], | |
"rules": {}, | |
"parserOptions": { | |
"parser": "babel-eslint" | |
} | |
}, | |
"postcss": { | |
"plugins": { | |
"autoprefixer": {} | |
} | |
}, | |
"browserslist": [ | |
"> 1%", | |
"last 2 versions", | |
"not ie <= 8" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
css: { | |
loaderOptions: { | |
less: { | |
javascriptEnabled: true | |
} | |
} | |
}, | |
devServer: { | |
disableHostCheck: true, | |
host: '0.0.0.0', | |
headers: { | |
'Access-Control-Allow-Origin': '*', | |
'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept' | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment