style-resources icon indicating copy to clipboard operation
style-resources copied to clipboard

Short Syntax of declaring config doesn't work

Open sugoidesune opened this issue 6 years ago • 2 comments

I wanted to declare the assets like so but it doesn't want to work. I tried all paths.

  [
    '@nuxtjs/style-resources', {
      scss: [ "~css/variables.scss"],
     }
  ]

It only works with this Syntax, could someone explain why or what im doing wrong?

  modules: ["@nuxtjs/style-resources"],

  styleResources: {
    scss: ["~css/variables.scss"]
  },

sugoidesune avatar Dec 29 '19 15:12 sugoidesune

I have the same problem, all modules work with that syntax but this.

sergiocerrutti avatar May 19 '20 15:05 sergiocerrutti

Your chance to contribute! 😋

TheAlexLichter avatar May 22 '20 13:05 TheAlexLichter

Probably resolved with the latest version

TheAlexLichter avatar Nov 15 '23 10:11 TheAlexLichter