Nuxt/test/fixtures/module/nuxt.config.js

17 lines
313 B
JavaScript
Raw Normal View History

2017-05-14 22:33:31 +00:00
module.exports = {
2017-05-21 17:18:26 +00:00
loading: true,
2017-05-14 22:33:31 +00:00
modules: [
2017-06-29 17:00:18 +00:00
'~modules/basic', // Use ~ for deprication warning coverage
2017-05-31 14:58:36 +00:00
{
2017-06-29 17:00:18 +00:00
src: '@/modules/middleware',
2017-05-31 14:58:36 +00:00
options: {
foo: 'bar'
}
},
['./modules/template', {baz: 'ping'}]
2017-05-21 17:18:26 +00:00
],
serverMiddleware: [
'./modules/middleware/midd2'
2017-05-14 22:33:31 +00:00
]
}