Skip to content

Commit 4372aaa

Browse files
authored
chore(playground): compatible with esm-only unocss (#322)
1 parent 3bbbcad commit 4372aaa

File tree

5 files changed

+45
-4
lines changed

5 files changed

+45
-4
lines changed

packages/playground/applet/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "playground-applet",
3+
"type": "module",
34
"version": "7.0.25",
45
"private": true,
56
"scripts": {
@@ -21,6 +22,7 @@
2122
"sass": "^1.74.1",
2223
"serve": "^14.2.1",
2324
"typescript": "^5.4.4",
25+
"unocss": "^0.59.0",
2426
"vite": "^5.2.8",
2527
"vite-plugin-inspect": "^0.8.3",
2628
"vite-plugin-vue-devtools": "workspace:*"

packages/playground/basic/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "playground-basic",
3+
"type": "module",
34
"version": "7.0.25",
45
"private": true,
56
"scripts": {
@@ -18,6 +19,7 @@
1819
"sass": "^1.74.1",
1920
"serve": "^14.2.1",
2021
"typescript": "^5.4.4",
22+
"unocss": "^0.59.0",
2123
"vite": "^5.2.8",
2224
"vite-plugin-inspect": "^0.8.3",
2325
"vite-plugin-vue-devtools": "workspace:*"

packages/playground/multi-app/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "playground-multi-app",
3+
"type": "module",
34
"version": "7.0.25",
45
"private": true,
56
"scripts": {
@@ -17,6 +18,7 @@
1718
"sass": "^1.74.1",
1819
"serve": "^14.2.1",
1920
"typescript": "^5.4.4",
21+
"unocss": "^0.59.0",
2022
"vite": "^5.2.8",
2123
"vite-plugin-inspect": "^0.8.3",
2224
"vite-plugin-vue-devtools": "workspace:*"

packages/playground/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"@unocss/reset": "^0.59.0",
1313
"@vue/devtools-ui": "workspace:*",
1414
"@vueuse/core": "^10.9.0",
15-
"unocss": "^0.59.0",
1615
"vue": "^3.4.21"
1716
},
1817
"devDependencies": {
1918
"@vitejs/plugin-vue": "^5.0.4",
2019
"typescript": "^5.4.4",
20+
"unocss": "^0.59.0",
2121
"vite": "^5.2.8",
2222
"vue-tsc": "^1.8.27"
2323
}

pnpm-lock.yaml

Lines changed: 38 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)