Advertisement
Guest User

nuxt config

a guest
Feb 25th, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. module.exports = {
  2. mode: 'spa',
  3. head: {title: 'POC Nuxtron'},
  4. loading: false,
  5. plugins: [],
  6. buildModules: ['@nuxtjs/vuetify'],
  7. build: {
  8. extend (config, { isClient }) {
  9. if (isClient) {
  10. config.target = 'electron-renderer'
  11. }
  12. },
  13. transpile: [
  14. 'mdbvue/lib/components'
  15. ]
  16. },
  17. env: {
  18. ENV: process.env.ENV,
  19. },
  20. dev: process.env.ENV === 'DEV',
  21. css: [
  22. '@/assets/css/global.css',
  23. 'bootstrap-css-only/css/bootstrap.min.css',
  24. 'mdbvue/lib/css/mdb.min.css'
  25. ]
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement