@vnxjs/router
TypeScript icon, indicating that this package has built-in type declarations

3.5.66 • Public • Published

@vnxjs/router

H5 side routing system.

Core API

createRouter(app, config, type, framework, reactdom)

Exposed to @vnxjs/vnmf-loader/h5 call, called in the application entry file, to create an application compatible with the applet routing specification.

parameters

app

Components exported by default in the entry file

config

Apply global configuration and page configuration. Corresponds to the return content of app.config.js and page.config.js.

type

Framework type, react | vue | nerv to choose one of three.

framework

The framework's default import object.

reactdom

Optional, the default import object for react-dom.

Readme

Keywords

Package Sidebar

Install

npm i @vnxjs/router

Weekly Downloads

1

Version

3.5.66

License

MIT

Unpacked Size

313 kB

Total Files

41

Last publish

Collaborators

  • sonnt5vnpay
  • khoidtvnpay
  • vnpay