Skip to content

Commit 8897938

Browse files
committed
chore(deps): update unocss
1 parent c3f46aa commit 8897938

File tree

5 files changed

+164
-156
lines changed

5 files changed

+164
-156
lines changed

playground/unocss-vue-scoped/__tests__/unocss.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ test.runIf(isServe)('regenerate CSS and HMR', async () => {
2222
],
2323
false,
2424
)
25-
await expect.poll(() => getBgColor(el)).toMatch('rgb(254, 202, 202)')
25+
const newEl = await page.$('.uno')
26+
await expect.poll(() => getBgColor(newEl)).toMatch('rgb(254, 202, 202)')
2627
})

playground/unocss-vue-scoped/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"unocss": "^66.4.1",
13+
"unocss": "^66.4.2",
1414
"vue": "catalog:"
1515
},
1616
"devDependencies": {

playground/unocss-vue-scoped/uno.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import { defineConfig, presetWind3 } from 'unocss'
22

33
export default defineConfig({
44
presets: [presetWind3()],
5+
// outputToCssLayers: true,
56
})

playground/unocss-vue-scoped/vite.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import vue from '@vitejs/plugin-vue'
33
import UnoCSS from 'unocss/vite'
44

55
export default defineConfig({
6-
plugins: [vue(), UnoCSS({ mode: 'vue-scoped' })],
6+
plugins: [
7+
vue(),
8+
UnoCSS({
9+
mode: 'vue-scoped',
10+
inspector: false,
11+
}),
12+
],
713
build: {
814
// to make tests faster
915
minify: false,

0 commit comments

Comments
 (0)