Socket
Book a DemoInstallSign in
Socket

@vnmfjs/vnmf-loader

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@vnmfjs/vnmf-loader

Vnmf runner use webpack loader

3.5.8
unpublished
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

@vnmfjs/vnmf-loader

暴露给 @vnmfjs/mini-runner@vnmfjs/webpack-runner 使用的 Webpack loader,包含以下 loader:

app

小程序专用。在小程序入口文件调用 @vnmfjs/runtimecreateReactApp/createVueApp 方法创建一个小程序 App 构造函数接受的对象。

options:

  • framework: 框架类型,'react' | 'nerv' | 'vue' | 'vue3'
  • prerender: 预渲染配置

page

小程序专用。在小程序页面文件调用 @vnmfjs/runtimecreatePageConfig 方法创建一个小程序 Page 构造函数接受的对象。

options:

  • framework: 框架类型,'react' | 'nerv' | 'vue' | 'vue3'
  • name: 页面路径

page

小程序专用。在小程序页面文件调用 @vnmfjs/runtimecreateComponentConfig 方法创建一个小程序 Component 构造函数接受的对象。

options:

  • framework: 框架类型,'react' | 'nerv' | 'vue' | 'vue3'
  • name: 页面路径

h5

H5 专用。在小程序入口文件调用 @vnmfjs/routercreateRouter 方法创建兼容小程序生命周期和路由系统的应用。

options:

  • framework: 框架类型,'react' | 'nerv' | 'vue' | 'vue3'
  • config: 应用配置,对应 app.config.js
  • pages:页面配置,对应 page.config.js
  • filename: 文件名

FAQs

Package last updated on 17 Oct 2022

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.