User:Roan Kattouw (WMF)/Codex example gadget/codextest.js

const Main = require( './codextest-main.js' ); $( '#bodyContent' ).prepend( ' ' ); Vue.createMwApp( Main ).mount( '#testgadget' );