Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-component-create

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-component-create

[![npm version](https://badge.fury.io/js/vue-component-create.svg)](https://badge.fury.io/js/vue-component-create)

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

vue-component-create(alpha)

npm version

vue-create-api 启发,基于 Vue3.0create-api;使用 Vite 搭建开发环境

大陆地区访问 playground

Usage

import { createAPI } from 'vue-component-create'
import Loading from 'path/to/Loading.vue'

const app = createApp(App)

createAPI(app, Loading, true)

app.mount('#app')

API

API 主要参考 vue-create-api 如下

  • $updateProps;更新 props 等,vue3 推荐 onXxx 来监听事件
  • $remove;移除组件,卸载 Dom
  • $create[Component.name] ;挂载在 this 上的插件调用方法

TodoList

  • this 绑定
  • install 实现
  • 生命周期绑定
  • provide,inject 实现

License

MIT

FAQs

Package last updated on 07 Jan 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc