Skip to content

Commit

Permalink
test: update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
MellowCo committed Jun 29, 2023
1 parent 4a85cbb commit 095c0e2
Show file tree
Hide file tree
Showing 8 changed files with 181 additions and 169 deletions.
2 changes: 1 addition & 1 deletion examples/taro_webpack5_vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"@unocss/webpack": "0.46.5",
"@unocss/webpack": "^0.53.4",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/compiler-sfc": "^3.0.0",
"babel-plugin-import": "^1.13.3",
Expand Down
4 changes: 4 additions & 0 deletions examples/taro_webpack5_vue3/src/pages/bg/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export default {
<view class="w-100 h-100 bg-cover mb-3 bg-[url(https://img.cdn.sugarat.top/mdImg/MTY2ODA4OTc3MjcyMg==unocss-icon-gray.svg)]" />
</view>

<view flex justify-center w-full>
<view class="w-100 h-100 bg-cover blur-sm mb-3 bg-[url(https://img.cdn.sugarat.top/mdImg/MTY2ODA4OTc3MjcyMg==unocss-icon-gray.svg)]" />
</view>

<view class="center h-200 rounded-md bg-gradient-to-t from-#f39c12/60 via-#2ecc71:80 to-#9b59b6_70 mb-3">
to-t
</view>
Expand Down
2 changes: 1 addition & 1 deletion examples/uniapp_vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3070020230117001",
"@iconify/json": "^2.2.70",
"typescript": "^5.0.4",
"unocss": "^0.53.1",
"unocss": "^0.53.4",
"unocss-preset-weapp": "link:../../",
"vite": "^4.0.3"
}
Expand Down
4 changes: 4 additions & 0 deletions examples/uniapp_vue3/src/pages/bg/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export default {
<view class="w-100 h-100 bg-cover mb-3 bg-[url(https://img.cdn.sugarat.top/mdImg/MTY2ODA4OTc3MjcyMg==unocss-icon-gray.svg)]" />
</view>

<view flex justify-center w-full>
<view class="w-100 h-100 blur-sm bg-cover mb-3 bg-[url(https://img.cdn.sugarat.top/mdImg/MTY2ODA4OTc3MjcyMg==unocss-icon-gray.svg)]" />
</view>

<view class="center h-200 rounded-md bg-gradient-to-t from-#f39c22/60 via-#2ecc71:80 to-#9b59b6_70 mb-3">
to-t
</view>
Expand Down
2 changes: 2 additions & 0 deletions examples/uniapp_vue3/src/pages/icon/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
<view class="i-mdi-alarm text-orange-400 text-xl" />
<view class="i-logos-vue text-3xl" />
<view class="i-carbon-sun " />

<view />
</view>
</template>
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,23 @@
},
"dependencies": {
"@rollup/pluginutils": "^5.0.2",
"@unocss/core": "^0.53.3",
"@unocss/extractor-arbitrary-variants": "^0.53.3",
"@unocss/core": "^0.53.4",
"@unocss/extractor-arbitrary-variants": "^0.53.4",
"unplugin-attributify-to-class": "^0.2.3",
"unplugin-transform-class": "^0.4.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.5",
"@antfu/eslint-config": "^0.39.6",
"@antfu/ni": "^0.21.4",
"@types/node": "^20.3.1",
"@unocss/autocomplete": "^0.53.3",
"@types/node": "^20.3.2",
"@unocss/autocomplete": "^0.53.4",
"bumpp": "^9.1.1",
"eslint": "^8.43.0",
"eslint-formatter-mo": "^1.2.0",
"magic-string": "^0.30.0",
"msw": "^1.2.2",
"taze": "^0.10.2",
"typescript": "^5.1.3",
"taze": "^0.10.3",
"typescript": "^5.1.6",
"unbuild": "^1.2.1",
"vite": "^4.3.9",
"vitest": "^0.32.2"
Expand Down
Loading

0 comments on commit 095c0e2

Please sign in to comment.