30 lines
512 B
JavaScript
30 lines
512 B
JavaScript
const webpack = require('webpack')
|
|
|
|
|
|
module.exports = {
|
|
build: {
|
|
plugins: [
|
|
new webpack.ProvidePlugin({
|
|
'_': 'lodash'
|
|
})
|
|
]
|
|
},
|
|
modules: ['@nuxtjs/apollo'],
|
|
apollo: {
|
|
clientConfigs: {
|
|
default: {
|
|
httpEndpoint: 'http://localhost:8000/api/graphql/',
|
|
httpLinkOptions: {
|
|
credentials: 'same-origin'
|
|
},
|
|
}
|
|
}
|
|
},
|
|
plugins: [
|
|
'~plugins/vue-axios',
|
|
'~plugins/vue-vimeo-player',
|
|
'~plugins/vuetify'
|
|
],
|
|
srcDir: 'src/'
|
|
}
|