@spruce-hub/mui
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.16 • Public • Published

Spruce MUI

适用于管理平台的公共组件或模块

Usage

pnpm add @spruce-hub/mui -P

Quick start

Full Import

// main.ts
import { createApp } from 'vue'
import App from './App.vue'

import mui from '@spruce-hub/mui'

createApp(App).use(mui).mount('#app')
<template>
  <MAlert type="success" description="success alert" closable="center" />
</template>

Volar support

// tsconfig.json
{
  "compilerOptions": {
    // ...
    "types": ["@spruce-hub/mui/global"]
  }
}

On-demand Import

<script setup lang="ts">
  import { MAlert } from '@spruce-hub/mui'
</script>

<template>
  <MAlert type="success" description="success alert" closable="center" />
</template>

Readme

Keywords

Package Sidebar

Install

npm i @spruce-hub/mui

Weekly Downloads

0

Version

1.0.0-alpha.16

License

MIT

Unpacked Size

53.9 kB

Total Files

52

Last publish

Collaborators

  • zzl821
  • z812032622
  • wenzheng-yi