diff --git a/examples/storybook/nuxt.config.js b/examples/storybook/nuxt.config.js index e8e401dc52..1cdd14ab01 100644 --- a/examples/storybook/nuxt.config.js +++ b/examples/storybook/nuxt.config.js @@ -44,17 +44,8 @@ module.exports = { ** Nuxt.js 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 */ @@ -62,23 +53,5 @@ module.exports = { /* ** 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/] - }) - ] - } - } } } diff --git a/examples/storybook/package.json b/examples/storybook/package.json index 92a2c2b73e..ff6d7c98c4 100644 --- a/examples/storybook/package.json +++ b/examples/storybook/package.json @@ -9,14 +9,11 @@ "build": "nuxt build", "start": "nuxt start", "generate": "nuxt generate", - "lint": "eslint --ext .js,.vue --ignore-path .gitignore .", - "lintfix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .", "precommit": "yarn run lint", "storybook": "start-storybook -p 9001 -c .storybook", "storybookoutput": "build-storybook -c .storybook -o .out" }, "dependencies": { - "@nuxtjs/axios": "^5.0.0", "chart.js": "^2.7.1", "nuxt": "^1.3.0", "vue-chartjs": "^3.1.1", @@ -32,11 +29,6 @@ "@storybook/addon-viewport": "^3.4.0-alpha.7", "@storybook/addons": "^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-loader": "^3.0.1" }