vnmf runtime for mini apps.
npm install @vnxjs/runtime@vnxjs/runtime@vnxjs/vnmf-loader/app calls, called in the applet entry file, to create an applet application specification object accepted by the applet App constructor.
@vnxjs/vnmf-loader/app calls, called in the applet entry file, to create an applet application specification object accepted by the applet App constructor.
@vnxjs/vnmf-loader/page calls, called in the applet page file, to create an applet page specification object accepted by the applet Page constructor.
window implementation on the applet side, and returns the browser's own window in the browser environment. This object is injected into the global object via Webpack's ProvidePlugin for third-party libraries to call.
navigator implementation on the applet side, and returns the browser's own navigator in the browser environment. This object is injected into the global object via Webpack's ProvidePlugin for third-party libraries to call.
document implementation on the applet side, and returns the browser's own document in the browser environment. This object is injected into the global object via Webpack's ProvidePlugin for third-party libraries to call.
Current.app, returns the current applet application instance, and the non-mini program side returns the applet specification application instance, which can be used to call the applet specification life cycle.
Current.page, returns the current applet page instance, and the non-applet side returns the applet specification page instance, which can be used to call the applet specification life cycle.
Current.router, returns the current applet routing information, and the non-applet side returns the applet specification routing information
html: Render HTML
debug: will print rendering time when enabled
prerender: internal parameters exposed to @vnxjs/cli