@tuoyuan/web

拓源前端组件库
3,076
Install
npm install @tuoyuan/web@1.2.9
Latest Version:1.2.9
License:MIT
Last Updated:May 21, 2025
Links: Repository  ·  npm
Maintainer: zy_6650

拓源前端基础组件库

环境

node >= 18.20.4 pnpm >= 9 vue >= 3.2.0

开发

  • 使用 pnpm i 安装依赖。
  • 预览: pnpm run dev。
  • 打包: pnpm run build ,打包目录为 packages/dist。
  • 发布:执行 pnpm run publish 发布组件库。

使用

完整引入
// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import TyWeb from '@tuoyuan/web'
import '@tuoyuan/web/es/index.less'

const app = createApp(App)

app.use(TyWeb)
app.mount('#app')
按需加载
// 导入组件
import { Button } from '@tuoyuan/web'
// 导入组件样式文件
import '@tuoyuan/web/es/src/button/styles/index.less'

链接

Related Packages

vue

The progressive JavaScript framework for building modern web UI.

468,054,189 54,906
vue
eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591
@vueuse/shared
260,835,866 22,398
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

257,315,514 686
@vueuse/core

Collection of essential Vue Composition Utilities

256,285,643 22,398

Version History

Version Released License
1.2.9 MIT
1.2.8 MIT
1.2.7 MIT
1.2.6 MIT
1.2.5 MIT
Pre-releases (1)
Version Released License
1.2.10-beta.1 MIT