+
Skip to content

Commit f18de78

Browse files
authored
fix(ui-kit): add @unocss-include magic string in NButton (#852)
1 parent 5ce9b47 commit f18de78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/devtools-ui-kit/src/components/NButton.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { NuxtLink } from '#components'
33
import { defineComponent, h, renderSlot } from 'vue'
44
import NIcon from './NIcon.vue'
55

6-
// @unocss-include
6+
// eslint-disable-next-line ts/no-unused-expressions
7+
'@unocss-include' // this is a trick to keep @unocss-include in the built file. esbuild treeshakes comments
78
export default defineComponent({
89
name: 'NButton',
910
props: {

0 commit comments

Comments
 (0)
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载