Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Package seems to be broken with nuxt 2.4.0 #25

Closed
LeCoupa opened this issue Jan 28, 2019 · 4 comments
Closed

Package seems to be broken with nuxt 2.4.0 #25

LeCoupa opened this issue Jan 28, 2019 · 4 comments

Comments

@LeCoupa
Copy link

LeCoupa commented Jan 28, 2019

When updating to nuxt@2.4.0, the package does not work. nuxt/nuxt#4869 (comment)

Here is my configuration:

module.exports = {
  modules: [
    "@nuxtjs/axios",
    "@nuxtjs/dotenv",
    "@nuxtjs/pwa",
    "nuxt-material-design-icons",
    [
      "nuxt-sass-resources-loader",
      [
        // Global variables, site-wide settings, config switches, etc
        "@/assets/settings/_settings.colors.scss",

        // Site-wide mixins and functions
        "@/assets/tools/_tools.mq.scss"
      ]
  ]
}

Compilation Errors:

 ERROR  Failed to compile with 20 errors                                                                                                  friendly-errors 20:54:35

ERROR  in ./pages/settings/experiments/editor/_id.vue?vue&type=style&index=0&lang=scss&                                                  friendly-errors 20:54:35

Module build failed (from ./node_modules/sass-loader/lib/loader.js):                                                                      friendly-errors 20:54:35

color: $nepal;
@manniL
Copy link

manniL commented Jan 29, 2019

Small remark: There is an nuxt-community package for loading SASS/LESS/Stylus variables for some time

https://github.com/nuxt-community/style-resources-module

That one should also work with the current version ☺️

majtom2grndctrl added a commit to majtom2grndctrl/dan.hiester.design that referenced this issue Jan 29, 2019
It was suggested that a community-maintained module might receive more reliable updates than a module maintained by one person. anteriovieira/nuxt-sass-resources-loader#25 (comment)
@anteriovieira
Copy link
Owner

Thanks @manniL

⚠️ We are closing the support for this package and transferred to the official community package. So we strongly suggest that you use the official community package @nuxtjs/style-resources.

@manniL
Copy link

manniL commented Jan 29, 2019

@anteriovieira Thanks for the outstanding work ❤️

@LeCoupa
Copy link
Author

LeCoupa commented Jan 30, 2019

Thanks @anteriovieira 🥇. I just made the changes yesterday night. I guess we can close the issue. 👍

@LeCoupa LeCoupa closed this as completed Jan 30, 2019
@anteriovieira anteriovieira pinned this issue Feb 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants