Vuetify Styles not visible

后端 未结 4 1622
花落未央
花落未央 2021-01-13 14:39

I am a beginner in the world of Vue, so please bear with my foolish question(s).
I have a boilerplate code for a Vue project which I cloned from: Vue Enterprise Boilerpl

4条回答
  •  春和景丽
    2021-01-13 14:59

    In my case I used stylus and had the css.requireModuleExtension = false option in vue.config.js. Styles just didn't load. Switching it to the true or removing this option did the trick.

    // vue.congif.js
    
    module.exports = {
      // ...
      css: {
        // ...
        requireModuleExtension: true
      }
      // ...
    }
    

提交回复
热议问题