[Question] Use Sass from another package
See original GitHub issueType of Issue
[ ] Bug Report
[ ] Feature Request
[x] Question
Description
I have a Sass file that I packaged in an npm package. (pie-theme.scss
)
This is a dependency of my pie-carousel
component.
I am able to use the style in that component by doing an @import '~pie-theme/pie-theme.scss';
However when I package pie-carousel
and try to use it in another application the style are not there.
I am probably missing something obvious… Please can you help?
Version Information
node_modules/.bin/ng-packagr --version
ng-packagr: 3.0.1
@angular/compiler: 5.2.11
rollup: 0.59.4
tsickle: 0.27.5
typescript: 2.5.3
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Importing SASS from another npm package - Stack Overflow
I have found similar question here: Importing Sass through npm, but I would rather avoid some workarounds. IMHO, this should be doable in...
Read more >How to import SASS through npm ? - GeeksforGeeks
First, download the latest version of a node in the system and install it. Now go to command prompt and address the folder...
Read more >Sass: @extend
When one class extends another, Sass styles all elements that match the extender as though they also match the class being extended. When...
Read more >Sass @import is being replaced with @use and @forward
My course: Responsive Design for Beginners! https://coder-coder.com/responsive/ Become a full-stack web dev with Zero to Mastery: ...
Read more >sass-loader - npm
This allows you to control the versions of all your dependencies, and to choose which Sass implementation to use. Note. We highly recommend ......
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 FreeTop 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
Top GitHub Comments
how did you solve it??
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
This action has been performed automatically by a bot.