Topic on Talk:Vue.js

185.228.49.198 (talkcontribs)

Hello! Can I use npm libraries for VueJS? For example: I want to use the Vuetify. How can I add to the mediawiki it?

Roan Kattouw (WMF) (talkcontribs)

In general, we recommend using Codex as a UI library, rather than Vuetify or another third-party library.

However, if you're writing your own skin or extension, that skin or extension can add a ResourceLoader module that contains Vuetify, by adding it to the ResourceModules key in your extension or skin's extension.json or skin.json file. For example, the Citoid extension adds the quagga library here, after retrieving its code using a foreign-resources.yaml entry here. For more documentation on how to use foreign-resources.yaml to fetch external libraries, see ResourceLoader/Foreign resources.

Reply to "NPM libraries"