Vue 组件 view-shadcn-ui 2024.1.1 发布

devtools/2024/10/22 3:33:07/

ui_202411__0">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.ppmy.cn/devtools/127720.html

相关文章

面试官:`interrupted()` 和 `isInterrupted()` 你真的用懂了吗?

感谢Java面试教程的 Java面试题&#xff1a;interrupted和isInterrupted方法的区别 在Java中&#xff0c;interrupted() 和 isInterrupted() 是用于检查线程中断状态的方法&#xff0c;但它们之间有一些关键的区别。 方法类型&#xff1a; interrupted() 是一个静态方法&…

深度学习--CNN实现猫狗识别二分类(附带下载链接, 长期有效)

1. 代码实现(包含流程解释) 样本量: 8005 # # 1.导入数据集(加载图片)数据预处理# 进行图像增强, 通过对图像的旋转 ,缩放,剪切变换, 翻转, 平移等一系列操作来生成新样本, 进而增加样本容量, # 同时对图片数值进行归一化[0:1] from tensorflow.keras.preprocessing.image …

2018年计算机网络408真题解析

第一题&#xff1a; 解析&#xff1a;TCP/IP体系结构应用层常用协议及其相应的运输层协议 TCP协议是面向连接可靠数据传输服务&#xff0c;UDP无连接不可靠的数据传输服务&#xff0c;IP无连接不可靠的数据连接服务。 FTP协议&#xff0c;SMTP协议和HTTP协议使用TCP协议提供的面…

Axure大屏可视化模板:打造跨领域数据分析平台的原型设计案例

数据可视化已成为各行各业提升管理效率、优化决策过程的重要手段。Axure作为一款强大的原型设计工具&#xff0c;其大屏可视化模板在农业、园区、城市、企业数据可视化、医疗等多个领域得到了广泛应用。本文将通过几个具体案例&#xff0c;展示Axure大屏可视化模板在不同领域中…

【CHI】CHI协议自问自答

学习CHI有一段时间了&#xff0c;如今回过头来&#xff0c;再读协议&#xff0c;一些问题做个记录。如果有错误的地方&#xff0c;欢迎指正。如果有其他的问题&#xff0c;也欢迎留言讨论。 spec&#xff1a; IHI0050F_amba_chi_architecture_spec 【持续更新ing】 目录 1. …

基于机器学习的二手车价格因素识别与预测

1.项目背景 随着二手车市场的快速发展&#xff0c;消费者对二手车的需求逐渐增加&#xff0c;然而&#xff0c;由于二手车的定价涉及多种复杂因素&#xff0c;不同条件下的车辆价值差异较大&#xff0c;如何精准地评估二手车的市场价值成为了一个亟待解决的问题。本项目通过数…

《使用Gin框架构建分布式应用》阅读笔记:p52-p76

《用Gin框架构建分布式应用》学习第4天&#xff0c;p32-p76总结&#xff0c;总计25页。 一、技术总结 1.Go知识点 (1)iouti 书上使用ioutil包读取JSON文件&#xff0c;但是从go 1.16 开始&#xff0c;不再推荐使用ioutil&#xff0c;应该使用os 包。 (2)json.Unmarshal() …

【AI论文精读5】知识图谱与LLM结合的路线图-P4(完)

【AI论文解读】【AI知识点】【AI小项目】【AI战略思考】 P1&#xff0c;P2&#xff0c;P3 6 协同LLMs与知识图谱&#xff08;KGs&#xff09; 近年来&#xff0c;LLMs与知识图谱&#xff08;KGs&#xff09;的协同工作引起了越来越多的关注&#xff0c;这种协同结合了LLMs与知…