
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
npm install vue3-dxui --save
或者
yarn add vue3-dxui
修改 vue 项目的 main.ts,并引入
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Dxui from 'vue3-dxui' // 导入
import 'vue3-dxui/dxui/dxui.css' // 全局样式导入
createApp(App).use(Dxui).use(store).use(router).mount('#app')
当然还是要全局引入样式
<template>
<div>
<Button>按钮</Button>
</div>
</template>
<script>
import { Button } from 'vue3-dxui'
export default {
components: {
Button
}
}
</script>
打包后暂时未有类型声明,请在 shims-vue.d.ts 中进行声明
/* eslint-disable */
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
declare module 'vue3-dxui'
声明之后你就可以在 lang="ts"的情况下使用了
<template>
<div>
<Button>按钮</Button>
</div>
</template>
<script lang="ts">
import { Button } from 'vue3-dxui'
export default {
components: {
Button
}
}
</script>
const ComponentsList = [
'Icon',
'AnimationIcon',
'Carousel',
'Button',
'Card',
'CardGroup',
'Dialog',
'Tooltip',
'BreadCrumb',
'Checkbox',
'CheckboxGroup',
'Switch',
'Tag',
'Slider',
'Select',
'Message',
'Affix'
]
csdn 介绍 vue3-dxui 的使用 https://dengxi.blog.csdn.net/article/details/129508840
dxui 网站介绍 http://www.dxyx-together.cn/#/home/button
github https://github.com/757363985/dxui
FAQs
```javascript npm install vue3-dxui --save ```
The npm package vue3-dxui receives a total of 22 weekly downloads. As such, vue3-dxui popularity was classified as not popular.
We found that vue3-dxui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.