Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Ionic Vue project in WebStorm

$
0
0

I recently moved from Cordova/Vue2 to Ionic/Capacitor/Vue3. I use WebStorm 2021.2.3 as my IDE. I’m having trouble with code completion. For example, <ion-card-header> will not show “color” as a property. My node_modules shows as “library root” and the @ionic folder is grey (meaning it’s not excluded). I’ve tried everything I can think of to try and get WebStorm to recognize the Typescript definition. Ideas? I also cannot get auto-import to work. I assumed when I typed <ion-card-header> that is would automatically import IonCardHeader. Instead I have to manual add each one. Kind of a pain. In VSCode at least the “color” property is an option on code completion. The auto-import doesn’t work there either. Any help would be appreciated.

Other threads I’ve looked at and tried:

https://youtrack.jetbrains.com/issue/WEB-37192

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>