odos-ui
快速上手
介绍如何在项目中使用 ODOS—UI
用法
安装
# npm
npm install odos-ui
# yarn
yarn add odos-ui
# pnpm
pnpm install odos-ui
# bun
bun install odos-ui
完整引入
main.ts
import { createApp } from 'vue'
import App from './App.vue'
// 引入样式和组件
import 'odos-ui/lib/umd/style.css'
import ODOSUI from 'odos-ui'
createApp(App).use(ODOSUI).mount('#app')
按需导入(推荐)
<template>
<Button type="primary">按钮</Button>
</template>
<script lang="ts" setup>
import { Button } from 'odos-ui'
</script>
Related Packages
markdown-to-jsx
A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS,...
214,042,213
2,394
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.5.27 | ^3.4.15 | ||
| 0.5.26 | ^3.4.15 | ||
| 0.5.25 | ^3.4.15 | ||
| 0.5.24 | ^3.4.15 | ||
| 0.5.23 | ^3.4.15 | ||
| 0.5.21 | ^3.4.15 | ||
| 0.4.18 | ^3.4.15 | ||
| 0.4.17 | ^3.4.15 | ||
| 0.4.16 | ^3.4.15 | ||
| 0.4.15 | ^3.4.15 | ||
| 0.4.3 | ^3.4.15 | ||
| 0.4.2 | ^3.4.15 | ||
| 0.4.1 | ^3.4.15 | ||
| 0.4.0 | ^3.4.15 | ||
| 0.3.36 | ^3.4.15 | ||
| 0.3.35 | ^3.4.15 | ||
| 0.3.30 | ^3.4.15 | ||
| 0.3.28 | ^3.4.15 | ||
| 0.3.27 | ^3.4.15 | ||
| 0.3.22 | ^3.4.15 | ||
| 0.3.20 | ^3.4.15 | ||
| 0.3.19 | ^3.4.15 | ||
| 0.3.18 | ^3.4.15 | ||
| 0.3.17 | ^3.4.15 | ||
| 0.3.16 | ^3.4.15 | ||
| 0.3.15 | ^3.4.15 | ||
| 0.3.14 | ^3.4.15 | ||
| 0.3.9 | ^3.4.15 | ||
| 0.3.6 | ^3.4.15 | ||
| 0.3.5 | ^3.4.15 |
Showing the latest 30 of 107. See every release on npm