You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm trying to setup a basic skeleton for a project. I would like to use patternfly-sass in my project, but I'm having bad time trying to setup it.
The problem seems to be in the sass files of patternfly, and for what I tried it seems that I need to modify that files to make it works, but maybe some magic trick exists.
I setup the sass loader in this way:
File to import not found or unreadable: bootstrap/variables.
Parent style sheet: /Users/rascio/Projects/site-skeleton/node_modules/patternfly-sass/assets/stylesheets/_patternfly.scss
in /Users/rascio/Projects/site-skeleton/node_modules/patternfly-sass/assets/stylesheets/_patternfly.scss (line 3, column 1)
@ ./~/vue-style-loader!./~/css-loader?minimize!./~/vue-loader/lib/style-compiler?{"id":"data-v-356299a0","scoped":false,"hasInlineConfig":false}!./~/sass-loader/lib/loader.js!./~/vue-loader/lib/selector.js?type=styles&index=0!./private/src/App.vue 4:14-325
@ ./private/src/App.vue
@ ./private/main.js
Patternfly doesn't have any bootstrap folder in the source so it can resolve the modules dependencies without the using of the prefix ~, meanwhile with my configuration I have to put it.
I don't get why I need to use the prefix to make it works and they don't?
Can I change something to use the patternly-sass module?
The text was updated successfully, but these errors were encountered:
@rascio your can use https://github.com/sass/node-sass#importer--v200---experimental for this. THis is not related to sass-loader, some libraries add variable to define here search dependencies package or assets (your can create issue about this and do pr in patternfly). Sorry but seems won't fix in sass-loader.
Hi!
I'm trying to setup a basic skeleton for a project. I would like to use patternfly-sass in my project, but I'm having bad time trying to setup it.
The problem seems to be in the sass files of patternfly, and for what I tried it seems that I need to modify that files to make it works, but maybe some magic trick exists.
I setup the sass loader in this way:
The I have in my
main.scss
:When I compile I have the following error:
In the
_patternfly.scss
:Patternfly doesn't have any
bootstrap
folder in the source so it can resolve the modules dependencies without the using of the prefix~
, meanwhile with my configuration I have to put it.I don't get why I need to use the prefix to make it works and they don't?
Can I change something to use the patternly-sass module?
The text was updated successfully, but these errors were encountered: