export default { mode: 'universal', /* ** Headers of the page */ head: { title: process.env.npm_package_name || '', meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0' }, { hid: 'description', name: 'description', content: process.env.npm_package_description || '' } ], link: [ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } ], script:[ {src:'flexible.js',type:"text/javascript",charset:'utf-8'} ], }, /* ** Customize the progress-bar color */ loading: { color: '#fff' }, /* ** Global CSS */ css: [ '~assets/reset.css', 'swiper/dist/css/swiper.css' ], /* ** Plugins to load before mounting the App */ plugins: [ { src:"@/plugins/vue-awesome-swiper",ssr:false }, ], /* ** Nuxt.js dev-modules */ devModules: [ ], /* ** Nuxt.js modules */ modules: [ ], /* ** Build configuration */ build: { /* ** You can extend webpack config here */ extend (config, ctx) { // config.resolve.alias[0] }, postcss:[ // require('postcss-pxtorem')({ // rootValue: 200, // propList: ['*'] // }), // require('autoprefixer')({ // browsers: ['Android >= 4.0', 'iOS >= 7'] // }) ] } }