@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! :)
-
-
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
-
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 …
End of conversation
New conversation -
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.