Upgrading to Version 3.0 #106
Replies: 4 comments 2 replies
-
Hi! v3 uses the new SASS modules, therefore the way SCSS files are imported is different. If you're importing the framework as an npm module, you should modify the style.scss file and the update the custom-style/* files (where you need to import the 'base' style). You can download v3 and use it as a reference for how the base is imported (by inspecting the style.scss file). More info here: Cheers |
Beta Was this translation helpful? Give feedback.
-
I installed dart-sass and updated my codyhouse version in package.json to 3.0.3. Copied the code from style.scss from the repo, as well as all the custom-styles. I don't get the error above anymore but it doesn't want to compile properly. My page shows with zero styling applied, its all html. What did I do wrong? |
Beta Was this translation helpful? Give feedback.
-
Hi, could you double-check that you are using dart-sass? Even if you have installed it, you may need to select it in your config file.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for checking that. Do you have any additional error messages? |
Beta Was this translation helpful? Give feedback.
-
Hi team. I'm trying to upgrade to version 3.0. The steps I got to is replacing the _base.scss to use the new @use after installing the new compiler. What does it mean? Thanks
[Browsersync] 1 file changed (app.css) [14:06:49] Finished 'sass' after 206 ms [14:06:55] Starting 'sass'... Error in plugin "sass" Message: resources\sass\components\_1_alert-card.scss Error: wrong number of arguments (2 for 1) for
alpha'on line 38 of resources/sass/components/_1_alert-card.scss
from line 12 of resources/sass/style.scss
Beta Was this translation helpful? Give feedback.
All reactions