diff --git a/README.md b/README.md index 23bfd34..a4f10a0 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ - π¦ [Components auto importing](./src/components) -- π¨ [Windi CSS](https://github.com/windicss/windicss) - next generation utility-first CSS framework +- π¨ [UnoCSS](https://github.com/antfu/unocss) - The instant on-demand atomic CSS engine. -- π [Use icons from any icon sets, with no compromise](./src/components) +- π Use icons from any icon sets in [Pure CSS](https://github.com/antfu/unocss/tree/main/packages/preset-icons) - π₯ Use the [new ` - - - - + + + + - - - + diff --git a/src/main.ts b/src/main.ts index e24fa9e..7f9289e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,11 +4,9 @@ import { createRouter, createWebHistory } from 'vue-router' import routes from 'virtual:generated-pages' import App from './App.vue' -// windicss layers -import 'virtual:windi-base.css' -import 'virtual:windi-components.css' +import '@unocss/reset/tailwind.css' import './styles/main.css' -import 'virtual:windi-utilities.css' +import 'uno.css' const app = createApp(App) const router = createRouter({ diff --git a/src/pages/hi/[name].vue b/src/pages/hi/[name].vue index 79ccd2a..d8e4fcd 100644 --- a/src/pages/hi/[name].vue +++ b/src/pages/hi/[name].vue @@ -5,13 +5,11 @@ const router = useRouter() - - - + Hi, {{ props.name }} - + Dynamic route! diff --git a/src/pages/index.vue b/src/pages/index.vue index 9e88ff6..0260305 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -10,19 +10,17 @@ const go = () => { - - - + Vitesse Lite - Opinionated Vite Starter Template + Opinionated Vite Starter Template - +
- -
Hi, {{ props.name }}
+
Dynamic route!
Vitesse Lite
- Opinionated Vite Starter Template + Opinionated Vite Starter Template