feat: 引入 @iconify-json/carbon 图标库
This commit is contained in:
parent
4c5573ff61
commit
b560a02fd4
@ -87,6 +87,7 @@
|
||||
"@dcloudio/uni-cli-shared": "3.0.0-3081220230817001",
|
||||
"@dcloudio/uni-stacktracey": "3.0.0-3081220230817001",
|
||||
"@dcloudio/vite-plugin-uni": "3.0.0-3081220230817001",
|
||||
"@iconify-json/carbon": "^1.1.27",
|
||||
"@types/wechat-miniprogram": "^3.4.7",
|
||||
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
||||
"@typescript-eslint/parser": "^6.15.0",
|
||||
|
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
@ -82,6 +82,9 @@ devDependencies:
|
||||
'@dcloudio/vite-plugin-uni':
|
||||
specifier: 3.0.0-3081220230817001
|
||||
version: 3.0.0-3081220230817001(postcss@8.4.32)(vite@4.1.4)(vue@3.2.47)
|
||||
'@iconify-json/carbon':
|
||||
specifier: ^1.1.27
|
||||
version: 1.1.27
|
||||
'@types/wechat-miniprogram':
|
||||
specifier: ^3.4.7
|
||||
version: 3.4.7
|
||||
@ -2657,6 +2660,12 @@ packages:
|
||||
resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==}
|
||||
dev: true
|
||||
|
||||
/@iconify-json/carbon@1.1.27:
|
||||
resolution: {integrity: sha512-tJVXv9+D9cjU5HcaY+8J0awv9AL/Mjo9MWR/fxHfHFPP/iokjPBEgq4jOBDGNe8W0k/BTrVI3zpgZjLoi6RNGg==}
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
dev: true
|
||||
|
||||
/@iconify/types@2.0.0:
|
||||
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
||||
dev: true
|
||||
|
@ -12,6 +12,8 @@
|
||||
Demo Count: {{ countStore.count }}
|
||||
<button class="ml-2" @click="countStore.increment">新增</button>
|
||||
</view>
|
||||
<!-- Sun in light mode, Moon in dark mode, from Carbon -->
|
||||
<button class="i-carbon-sun dark:i-carbon-moon" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user