0.0.4 โข Published 1 year ago
vm-design v0.0.4
โจ Features
- ๐ช 60+ common components
- ๐ช Developed with the latest features of Vue.js
- ๐ Fully based on Vite, fast enough
- ๐ค Ultimate development experience
- ๐ฅ Ultra detailed JSDoc comments
- ๐ฆฉ Zero third party dependency
- ๐ช Different packaging modes which compatible with different projects
- ๐ Support full import and on-demand import
- โ Written with TypeScript & Template
- ๐๏ธ Strict TypeScript Type
- ๐ค Global no any type
- โ๏ธ Easy to configure and easy to use
- ๐ฉ Complete and adequate unit tests
- ๐ Maintained by the community team
- โค๏ธ Developed according to actual demand
- ๐ High quality detailed documentation
- ๐ Improve RFC
- โ๏ธ Put forward demands and keep improving
- ๐ More configuration options & flexible components
- ๐ More features are under development
๐ Install
Use pnpm
install
pnpm add --save-dev vm-design
Use npm
install
npm install --save-dev vm-design
Use yarn
install
yarn add --save-dev vm-design
๐ Quick Start
Put the following code into main.ts
import { createApp } from 'vue'
import App from './App.vue'
import VmDesign from 'vm-design'
import 'vm-design/dist/index.css'
createApp(App).use(VmDesign).mount('#app')
๐ช Quick experience
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vm-design/dist/index.css" />
</head>
<body>
<div id="app">
<v-space>
<v-button round type="default">้ป่ฎคๆ้ฎ</v-button>
<v-button round type="primary">ไธป่ฆๆ้ฎ</v-button>
<v-button round type="success">ๆๅๆ้ฎ</v-button>
<v-button round type="danger">ๅฑ้ฉๆ้ฎ</v-button>
<v-button round type="warning">่ญฆๅๆ้ฎ</v-button>
</v-space>
<v-divider>ๅไธฝ็ๅ้็บฟ</v-divider>
<v-button type="primary" @click="visible = true">ๆๅผ Dialog</v-button>
<v-dialog title="Title" v-model:visible="visible"> ๆฌข่ฟไฝฟ็จ vm Design๏ผ </v-dialog>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.global.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vm-design/dist/index.umd.js"></script>
<script>
const { createApp, ref } = Vue
const app = createApp({
setup() {
const visible = ref(false)
return { visible }
}
})
app.use(VmDesign.default)
app.mount('#app')
</script>
</body>
๐ณ Related links
๐ Join vm Design
Add WeChat & please note the Github
username
๐ Special Thanks
Thanks to everyone who has already contributed to vm Design
!