cniklas / rezeptor-vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rezeptor

This template should help get you started developing with Vue 3 in Vite.

Windi CSS

Vue Scoped Styles

You will need to set transformCSS: 'pre' to get Scoped Style work.

https://windicss.org/integrations/vite.html#caveats

Dynamic classes

Windi CSS does not detect utilities that are not wrapped in quotes!

<!-- ❌ does not work -->
<div :class="{ hidden: isTrue }" />

<!-- ✅ does work -->
<div :class="{ 'hidden': isTrue }" />

To prevent Prettier from removing quotes add "quoteProps": "preserve" to the config.

About

License:MIT License


Languages

Language:Vue 70.4%Language:JavaScript 19.9%Language:CSS 8.3%Language:HTML 1.3%