This commit is contained in:
Huseyn Guliyev 2018-02-06 02:44:22 +00:00
parent b65a0e6e19
commit 500da0804e
2 changed files with 0 additions and 35 deletions

View File

@ -44,17 +44,8 @@ module.exports = {
** Nuxt.js modules ** Nuxt.js modules
*/ */
modules: [ modules: [
// Doc: https://github.com/nuxt-community/axios-module#usage
'@nuxtjs/axios'
], ],
/*
** Axios module configuration
*/
axios: {
// See https://github.com/nuxt-community/axios-module#options
},
/* /*
** Build configuration ** Build configuration
*/ */
@ -62,23 +53,5 @@ module.exports = {
/* /*
** You can extend webpack config here ** You can extend webpack config here
*/ */
extend(config, ctx) {
// Run ESLint on save
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/
})
}
if (ctx.isServer) {
config.externals = [
nodeExternals({
whitelist: [/^vuetify/]
})
]
}
}
} }
} }

View File

@ -9,14 +9,11 @@
"build": "nuxt build", "build": "nuxt build",
"start": "nuxt start", "start": "nuxt start",
"generate": "nuxt generate", "generate": "nuxt generate",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"lintfix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
"precommit": "yarn run lint", "precommit": "yarn run lint",
"storybook": "start-storybook -p 9001 -c .storybook", "storybook": "start-storybook -p 9001 -c .storybook",
"storybookoutput": "build-storybook -c .storybook -o .out" "storybookoutput": "build-storybook -c .storybook -o .out"
}, },
"dependencies": { "dependencies": {
"@nuxtjs/axios": "^5.0.0",
"chart.js": "^2.7.1", "chart.js": "^2.7.1",
"nuxt": "^1.3.0", "nuxt": "^1.3.0",
"vue-chartjs": "^3.1.1", "vue-chartjs": "^3.1.1",
@ -32,11 +29,6 @@
"@storybook/addon-viewport": "^3.4.0-alpha.7", "@storybook/addon-viewport": "^3.4.0-alpha.7",
"@storybook/addons": "^3.4.0-alpha.7", "@storybook/addons": "^3.4.0-alpha.7",
"@storybook/vue": "^3.4.0-alpha.7", "@storybook/vue": "^3.4.0-alpha.7",
"babel-eslint": "^8.2.1",
"cross-env": "^5.0.1",
"eslint": "^4.15.0",
"eslint-loader": "^1.7.1",
"eslint-plugin-vue": "^4.0.0",
"stylus": "^0.54.5", "stylus": "^0.54.5",
"stylus-loader": "^3.0.1" "stylus-loader": "^3.0.1"
} }