Problem when trying to use global Sass files.
See original GitHub issueFound an issue or bug with electron-vue? Tell me all about it!
Questions regarding how to use electron
or vue
are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.
Describe the issue / bug.
# I am trying to use a global Sass file and access color variables from it in my components, but I always get the result of “variable not found”.
How can I reproduce this problem?
# In a new project from scratch, configure a global Sass file following the official guide in this link.
If visual, provide a screenshot.
#
Tell me about your development environment.
- Node version: v8.11.3
- NPM version: 5.6.0
- Yarn version: 1.6.0
- vue-cli version: 2.9.6
- Operating System: Windows 10 BUILD 1803
If you are looking to suggest an enhancement or feature, then feel free to remove everything above.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12
Top Results From Across the Web
Why @use and @include works in global scss file but not ...
I'm using NextJS v12.1.0 , React v17.0.2 and sass v1.49.9 . I'm trying to create a theme switcher based on that article.
Read more >Stop using @import with Sass | @use and @forward explained
Keep up to date with my Sass course: https://beyondcss.dev/?utm_campaign=OlderYouTubeVideos&utm_source=YouTubeThe use of @import has been ...
Read more >How to import Sass/SCSS mixins global? - DEV Community
I import the two .scss files in the App.js so I can access the classes/mixins/variables global. But only the classes are accessible.
Read more >Sass: @use
The @use rule loads mixins, functions, and variables from other Sass stylesheets, ... If you want to load members from many files at...
Read more >CSS, SCSS, and Less support in Visual Studio Code
We can use this to transpile .scss or .less files into .css files. ... If you want to stop the task, you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Change this
to
This worked for me.
data
has been renamed toprependData
in v8.