A
A
Arioch2019-08-20 10:50:39
Vue.js
Arioch, 2019-08-20 10:50:39

I have both nuxt.config.js and vue.config.js (created with the plugin) in my project at the same time - what is the order in which they are executed?

I put it in a folder with Nuxt - Quasar and connected it as a plugin. And this installation created vue.config.js(where, by the way, it wrote down the Quasar transpilation rules, which, apparently, are not followed)
Tell me, who knows how these two configs interact?
vue.config.jsin Nuxt does not work at all? And how to transfer rules from it to nuxt.config.js? See what's there:
vue.config.js

module.exports = {
  pluginOptions: {
    quasar: {}
  },
  transpileDependencies: [
    /[\\\/]node_modules[\\\/]quasar[\\\/]/
  ]
}

how to write it in format nuxt.config.js?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Romanov, 2019-08-20
@arioch77

build: {
    transpile: [
      'quasar',
    ],
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question