This repository was archived by the owner on Oct 31, 2024. It is now read-only.
Proposal: How to fix imports in WebStorm #1692
Unanswered
super-kamil
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem:
Solution:
Configure webpack location:
Settings -> Languages & Frameworks -> JavaScript -> Webpack -> Manually -> your-project-path\node_modules\nuxt\webpack.config.js
In SCSS imports add ~:

Examples:
https://github.com/vuestorefront/shopware-pwa/blob/master/packages/cli/src/templates/project-template/src/assets/scss/variables.scss#L2
https://github.com/vuestorefront/shopware-pwa/blob/master/packages/cli/src/templates/project-template/src/assets/scss/main.scss#L2
Enjoy autocompletion 🎉
Beta Was this translation helpful? Give feedback.
All reactions