Vue 组件 view-shadcn-ui 2024.1.1 发布

news/2024/10/18 16:46:48 标签: vue.js, ui, 前端

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.niftyadmin.cn/n/5711416.html

相关文章

【数据分析】影响系数 =(今日量-昨日量)/(今日总量-昨日总量)

1. 影响系数 影响系数是一个用来衡量两个相关变量之间变化关系的指标。在给定的公式中&#xff1a; 今日量&#xff1a;指的是当前时间点的某个特定变量的值&#xff0c;比如今天某个商品的销售数量。昨日量&#xff1a;指的是前一个时间点&#xff08;通常是前一天&#xff…

HTML(七)表格

https://chatgai.lovepor.cn/ 在HTML中&#xff0c;表格的标准形式如下&#xff1a; <table></table> 使用上面的语言&#xff0c;就已经生成了一个表格&#xff0c;只不过这个表格什么都没有 那么&#xff0c;该如何让表格存在东西呢&#xff1f; 首先&#xf…

RAID 矩阵

在架构设计中&#xff0c;RAID矩阵&#xff08;RAID Log&#xff09;是一个用于项目管理和风险管理的工具&#xff0c;帮助团队有效管理和跟踪项目中可能影响成功交付的关键因素。与存储技术中的 RAID 不同&#xff0c;这里的 RAID 是一个缩写&#xff0c;代表&#xff1a; R:…

什么是 SQL 命令?SQL 如何工作?

什么是 SQL 命令&#xff1f; SQL&#xff08;Structured Query Language&#xff0c;结构化查询语言&#xff09;是一种专门用于与关系型数据库通信的标准语言。SQL 通过特定的命令集与数据库系统进行交互&#xff0c;允许用户执行以下任务&#xff1a; 查询数据&#xff08…

深度学习论文: Slender Object Detection: Diagnoses and Improvements

深度学习论文: Slender Object Detection: Diagnoses and Improvements Slender Object Detection: Diagnoses and Improvements PDF:https://arxiv.org/pdf/2011.08529v1 PyTorch: https://github.com/shanglianlm0525/PyTorch-Networks 1 概述 本文关注细长物体的检测,这类…

外包干了3周,技术退步太明显了。。。。。

先说一下自己的情况&#xff0c;大专生&#xff0c;21年通过校招进入武汉某软件公司&#xff0c;干了差不多3个星期的功能测试&#xff0c;那年国庆&#xff0c;感觉自己不能够在这样下去了&#xff0c;长时间呆在一个舒适的环境会让一个人堕落!而我才在一个外包企业干了3周的功…

开发nodebb插件的一点个人经验

最近在公司搭了个nodebb的论坛&#xff0c;由于种种原因&#xff0c;需要接入公司的域账号系统&#xff0c;于是就有了这次开发的经历&#xff0c;但是相关资料太少&#xff0c;特此记录下踩坑学习历程&#xff0c;这些都是业务用到的内容记录下&#xff0c;业务&#xff0c;没…

189.轮转数组

目录 题目解法解释&#xff1a;示例输出&#xff1a; 如何删除最后一个元素以及索引.insert有没有库需要Includestd::reverse怎么用&#xff1f;为什么会想到用翻转的方法&#xff1f; 题目 给定一个整数数组 nums&#xff0c;将数组中的元素向右轮转 k 个位置&#xff0c;其中…