@smart-portal/components

1.0.10 • Public • Published

SmartPortal Components

适用于Vue3/Vue2.7高阶组件个性化处理


依赖安装

组件包依赖

npm install @smart-portal/components 

组件模式

  1. general 通用vue2 vue2.7 vue3组件库,Composition语法组件
  2. options vue2组件库,Options语法组件
  3. composition vue3组件库,Composition语法组件

组件按需引入

<template>
  <GeneralNotifyNumber1
    content="关于进一步加强能力中台储备区举办科技成果日(第33、34、35期)的通知"
  />
</template>

<script lang="ts" setup>
/**
 * 高阶组件引入
 * x:组件模式:General, Composition, Options
 * y:组件分类:详见文档
 * z:组件编号:详见文档
 */
import { General } from '@smart-portal/components'
import '@smart-portal/components/lib/style.css'

const { GeneralNotifyNumber1 } = General
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i @smart-portal/components

Weekly Downloads

1

Version

1.0.10

License

MIT

Unpacked Size

1.28 MB

Total Files

6

Last publish

Collaborators

  • asp_panjinjun