-
Couldn't load subscription status.
- Fork 6
Description
Provide a general summary of the issue here
When we try to install themes like:
import @sl-design-system/sanoma-learning/light.css it says the path is not exported by the package
🤔 Expected Behavior?
It should allow you to import it directly from the file or probably just with: @sl-design-system/sanoma-learning
😯 Current Behavior
It doesn't let you import it in that way throwing an error:
💁 Possible Solution
Exporting files in the package.json from the theme/package. I've seen that it's happening in sanoma-learning theme, however it might also happening in the rest of the themes.
🖥️ Steps to Reproduce
- I created a new test angular project
- Installed theme dep
- Added to the angular.json file in the styles array
Then the error appears when I try to run it. It also happens if we try to import it in a html file. Actually the only possible thing is to import it through node_modules/@sl.... etc.
We actually use editorial-suite, bingel-dc, sanoma-learning themes.
What browsers are you seeing the problem on? (only for bugs in code)
Chrome
If other, please specify.
No response
What operating system are you using?
Windows
👤 Your name
Óscar Ledesma
🧢 Your product/team
Pokemon
🎨 Your Theme(s)
Editorial Suite
Metadata
Metadata
Labels
Type
Projects
Status

