Commit b2d99fdd by 周田

fix:css缩写提示

parent 5e0f41a8
...@@ -5,7 +5,7 @@ import App from './App.vue' ...@@ -5,7 +5,7 @@ import App from './App.vue'
import ElementPlus from 'element-plus' import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css' import 'element-plus/dist/index.css'
import router from './router' import router from './router'
import 'uno.css' import 'virtual:uno.css'
const app = createApp(App) const app = createApp(App)
......
<template> <template>
<el-select mb-5 v-model="value" placeholder="Select"> <el-select class="mb-5" v-model="value" placeholder="Select">
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" /> <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
</el-select> </el-select>
......
...@@ -23,9 +23,7 @@ export default defineConfig({ ...@@ -23,9 +23,7 @@ export default defineConfig({
targets: ['defaults', 'not IE 11'], targets: ['defaults', 'not IE 11'],
}), }),
vue(), vue(),
UnoCSS({ UnoCSS()
configFile: './uno.config.ts'
})
], ],
base: './', base: './',
server: { server: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment