@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! :)
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
-
-
> SCSS imports aren't recognised. Can you please show the import?
-
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 more reply
New conversation -
-
-
> In the script the "export default" is recognised as unused. But is this component imported in any other components? Can you please show an example of its use? Thanks!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thank you! :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.