I am currently developing my first own NodeType. But how can I append a custom css to it? I tried to create a new .scss file in the Resources/Private/Styles directory and add it as an import to the Main.scss file. But thats not working. Is there something I’m missing?
If you are working with phpstorm, you can enable the File Watcher to compile your scss: --no-cache --update --style compressed --sourcemap=none $FileName$:../../Public/Styles/$FileNameWithoutExtension$.min.css
If you want to split up your scss in more than one file, you can import your Main.scss like: @import "Main.scss";
For me it sounds like this scss is never compiled. Very stange because your IDE would throw an error message if “_Button.scss” could not be compiled correctly. Is the Main css file really new created? Plz check the “creation date” in the file system.