ResourceLoader has supported .vue single-file components for some time now. Do any changes need to be made in the Gadgets extension in order to enable use of Vue SFCs in on-wiki Gadgets?
Potential things to check:
- ES6 syntax support
- Hard-coded file extensions
- Would LESS compilation supported in Vue SFCs in Gadgets? Could Vue components inside Gadgets import LESS files containing mxins, design tokens, etc?
Ideally, the usage of Vue files in Gadgets that use package files should be more or less identical to how things work in ResourceLoader: https://www.mediawiki.org/wiki/Vue.js/Guidelines
Next steps
Set up Gadgets on a local wiki instance during development, see what is possible, and report back