This repository has been 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
-
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