🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more
Socket
Book a DemoInstallSign in
Socket

@doctorwork/dva

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doctorwork/dva

对 dva 的简单封装,方便类似小程序之类的框架使用

latest
npmnpm
Version
0.0.2
Version published
Maintainers
5
Created
Source

doctorwork/dva

对 dva 的简单封装,方便类似小程序之类的框架使用

    // 入口页面
    import { createApp } from "@doctorwork/dva";

    createApp({
        models: []
        middlewares: [],
        onAction: []
    })

    // 注册页面
    import { register, unRegister } from "@doctorwork/dva";
    import model from "./model.js"

    register(model);
    unRegister("page")

FAQs

Package last updated on 02 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts