Vnmf runner use webpack loader
npm install @vnxjs/vnmf-loader@vnxjs/vnmf-loader@vnxjs/mini-runner and @vnxjs/webpack-runner, including the following loader:
createReactApp/createVueApp methods of @vnxjs/runtime in the applet entry file to create an object accepted by the applet App constructor.
framework: framework type, 'react' | 'nerv' | 'vue' | 'vue3'
prerender: prerender configuration
createPageConfig method of @vnxjs/runtime in the applet page file to create an object accepted by the applet Page constructor.
framework: framework type, 'react' | 'nerv' | 'vue' | 'vue3'
name: page path
createComponentConfig method of @vnxjs/runtime in the applet page file to create an object accepted by the applet Component constructor.
framework: framework type, 'react' | 'nerv' | 'vue' | 'vue3'
name: page path
createRouter method of @vnxjs/router in the applet entry file to create an application compatible with the applet life cycle and routing system.
framework: framework type, 'react' | 'nerv' | 'vue' | 'vue3'
config: Application configuration, corresponding to app.config.js
pages: page configuration, corresponding to page.config.js
filename: filename