@WebStormIDE Hey I'm new to WebStorm and I want to use @vuejs but I have 3 problems: 1. Normal HTML self-closing tags like <span v-text="text" /> are shown as a warning. 2. In the script the "export default" is recognised as unused. 3. SCSS imports aren't recognised. Thanks! :)
-
-
Replying to @luka_digital @vuejs
Hey! You can disable the inspection that warns about the self-closing tags: press Alt-Enter, then arrow right and select Disable inspection. Or go to Preferences | Editor | Inspections and disable it there.pic.twitter.com/r1qqZV1vV0
3 replies 0 retweets 0 likes -
Replying to @WebStormIDE @vuejs
> SCSS imports aren't recognised. Can you please show the import?
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE @vuejs
I think it's something about the
@webpack configuration, so it's not up to you, but I don't know how to fix it. I fixed the "export default" issue by adding "alias: {'@': path.join(__dirname, 'Frontend')}" in webpack.config.js. I'm using@nuxt_js not@vuejspic.twitter.com/xRpKsmC2rV
1 reply 0 retweets 0 likes
Please try to use the following path: `@import "~@/assets/scss/__variables.scss";` It is the webpack recommendation and WebStorm supports it:https://webpack.js.org/loaders/sass-loader/#imports …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.