当前位置: 首页 > article >正文

Vue 组件 view-shadcn-ui 2024.1.1 发布

Vue 组件 view-shadcn-ui 2024.1.1 发布

View Shadcn UI 是一个基于 Shadcn UI 和 Tailwind CSS 构建的组件库。

推荐一套为 Java 开发人员提供方便易用的 SDK 来与目前提供服务的的 Open AI 进行交互组件:https://github.com/devlive-community/openai-java-sdk

推荐一套功能强大的开源数据中台系统:https://github.com/devlive-community/datacap

General Changes

  • [Core] Add release npm repository configuration
  • [Core] Support compile css
  • [Core] Add docs
  • [Core] Replace sh to bash
  • [Core] Support on-demand import

Component Changes

  • [Tree] Supports expanding parent directories by selecting subnodes
  • [Tabs] Support vertical mode
  • [Tab] Support check slot type
  • [Card] Support loading
  • [Card] Support description
  • [User] User-related pages to enable ICard
  • [Card] Optimize component introduction method
  • [Button] Optimize component introduction method
  • [Modal] Support width and height
  • [Input] Support size
  • [Input] Supports max length
  • [Input] Supports prefix and suffix
  • [Icon] Support icon
  • [Icon] Support size
  • [Icon] Support color
  • [Copy] Support tooltip
  • [Copy] Support position
  • [Tooltip] Support delay
  • [Tooltip] Support position
  • [Tooltip] Support trigger
  • [Tooltip] Support arrow
  • [Code] Support theme
  • [Code] Support language
  • [Code] Support show line numbers

全局引用

修改 main.ts 入口文件中的配置如下:

import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)

// Import View Shadcn UI
import ViewShadcnUI from 'view-shadcn-ui'
app.use(ViewShadcnUI)

按需引用

import { ShadcnButton } from 'view-shadcn-ui'
app.component('ShadcnButton', ShadcnButton)

或者

<template>
    <ShadcnButton>Button</ShadcnButton>
</template>

<script setup>
    import { ShadcnButton } from 'view-shadcn-ui'
</script>

推荐一套全平台数据库管理工具,建议下载使用: https://github.com/devlive-community/dbm

我们即将推出一套开源新系统。InfoSphere 是一款面向企业和个人的开源 Wiki 系统,旨在提供简单而强大的知识管理解决方案。建议尝试使用: https://github.com/devlive-community/incubator-infosphere

欢迎大家前往测试站点使用并提出宝贵的建议,如果您有需要实现的布局,可以提交 issues 我们会在最快的时间内实现。

我们的示例地址为:https://shadcn.vue.devlive.org


http://www.kler.cn/news/351095.html

相关文章:

  • 【C++11】右值引用和移动语义
  • 程序员节-回顾篇
  • 基于STM32设计的养殖场环境监测系统(华为云IOT)
  • 世界前沿思想升命学说:鼠、牛、虎、兔、龙、蛇、马、羊、猴、鸡、狗、猪
  • oracle imp和exp 导入不同库的用户和表空间
  • 汇川机器人与PLC通信-ModbusTCP超详细案例
  • uview 组件遇到的问题以及响应的改造
  • ubuntu安装Vim和net-tools和htop
  • 英语单词之社会生活之聚会
  • 【CSS】网页美学的魔法画笔
  • TGRS 2024 面向雾天遥感图像的定向目标检测算法
  • 【时间之外】IT人求职和创业应知【8】
  • 【C++】——二叉搜索树
  • Windows 迁移conda环境
  • HTTP Content-Type
  • Excel筛选数据时用到分类汇总值
  • java菜鸟学习实例(二)
  • 【VUE】Vue中的内置组件
  • Golang反射解说
  • 985研一学习日记 - 2024.10.17
  • 【保姆级】Spring Retry 教程
  • js实现简单的【发布者-订阅者模式】
  • 《C++中栈的实现:探索高效数据结构》
  • python项目实战——下载美女图片
  • golang生成并分析cpu prof文件
  • LeetCode:LCP77.符文储备(排序 Java)