File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,41 +44,14 @@ module.exports = {
4444 ** Nuxt.js modules
4545 */
4646 modules : [
47- // Doc: https://github.com/nuxt-community/axios-module#usage
48- '@nuxtjs/axios'
4947 ] ,
5048
51- /*
52- ** Axios module configuration
53- */
54- axios : {
55- // See https://github.com/nuxt-community/axios-module#options
56- } ,
57-
5849 /*
5950 ** Build configuration
6051 */
6152 build : {
6253 /*
6354 ** You can extend webpack config here
6455 */
65- extend ( config , ctx ) {
66- // Run ESLint on save
67- if ( ctx . isDev && ctx . isClient ) {
68- config . module . rules . push ( {
69- enforce : 'pre' ,
70- test : / \. ( j s | v u e ) $ / ,
71- loader : 'eslint-loader' ,
72- exclude : / ( n o d e _ m o d u l e s ) /
73- } )
74- }
75- if ( ctx . isServer ) {
76- config . externals = [
77- nodeExternals ( {
78- whitelist : [ / ^ v u e t i f y / ]
79- } )
80- ]
81- }
82- }
8356 }
8457}
Original file line number Diff line number Diff line change 99 "build" : " nuxt build" ,
1010 "start" : " nuxt start" ,
1111 "generate" : " nuxt generate" ,
12- "lint" : " eslint --ext .js,.vue --ignore-path .gitignore ." ,
13- "lintfix" : " eslint --fix --ext .js,.vue --ignore-path .gitignore ." ,
1412 "precommit" : " yarn run lint" ,
1513 "storybook" : " start-storybook -p 9001 -c .storybook" ,
1614 "storybookoutput" : " build-storybook -c .storybook -o .out"
1715 },
1816 "dependencies" : {
19- "@nuxtjs/axios" : " ^5.0.0" ,
2017 "chart.js" : " ^2.7.1" ,
2118 "nuxt" : " ^1.3.0" ,
2219 "vue-chartjs" : " ^3.1.1" ,
3229 "@storybook/addon-viewport" : " ^3.4.0-alpha.7" ,
3330 "@storybook/addons" : " ^3.4.0-alpha.7" ,
3431 "@storybook/vue" : " ^3.4.0-alpha.7" ,
35- "babel-eslint" : " ^8.2.1" ,
36- "cross-env" : " ^5.0.1" ,
37- "eslint" : " ^4.15.0" ,
38- "eslint-loader" : " ^1.7.1" ,
39- "eslint-plugin-vue" : " ^4.0.0" ,
4032 "stylus" : " ^0.54.5" ,
4133 "stylus-loader" : " ^3.0.1"
4234 }
You can’t perform that action at this time.
0 commit comments