unocss-v1.0.0
wxt-dev/wxtunocss-v1.0.0Oct 22, 2024by aklinker1
AI Summary
This is the initial release of the WXT UnoCSS module, designed to simplify the integration of UnoCSS into browser extensions by handling its specific configuration requirements.
Key Highlights
- Initial release of WXT's UnoCSS module
- Simplifies adding UnoCSS to extensions via a single module import
- Includes setup instructions and configuration examples
New Features
- The entire UnoCSS module functionality for WXT
Full Release Notes
Initial release of WXT's UnoCSS module! UnoCSS has a few quirks that make it a little annoying to configure, so this module simplifies adding UnoCSS to your extension.
```sh
npm i --save-dev @wxt-dev/unocss unocss
pnpm i -D @wxt-dev/unocss unocss
yarn add --dev @wxt-dev/unocss unocss
bun i -D @wxt-dev/unocss unocss
```
```ts
// wxt.config.ts
export default defineConfig({
modules: ['@wxt-dev/unocss'],
});
```
Then in any entrypoint you want to use UnoCSS in, just import it:
```ts
import "uno.css";
```