framework7io / framework7-vue

Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
http://framework7.io/vue/
MIT License
674 stars 151 forks source link

Add documentation for IDE-support #403

Closed RickoRo closed 6 years ago

RickoRo commented 6 years ago

Hi,

is it possible to have an IDE-support for the framework7-vue-tags? I use WebStorm and I had no autocomplete for the f7-tags.

Do you have any documentation or idea how to solve this?

Regards

RickoRo commented 6 years ago

Ah, got it. If you install the official vue.js-Plugin, then you have a chance for an autocomplete:

You have to cancel the exclusion of the folder node_modules/framework7-vue so that the IDE indexes all the Vue.js-Components in that folder. All the tags from the examples are still unknown (first image), but if you open the autocomplete (Ctrl+Space, second image) and select the vue-component, then the components get imported in the script-section of the vue-file (third image).

Autocompletion for the attributes of the component is still missing because the IDE does not know the return value of the core method Utils.extend().

bildschirmfoto 2018-04-07 um 11 45 50 bildschirmfoto 2018-04-07 um 11 46 08 bildschirmfoto 2018-04-07 um 11 46 20