unocss 0.11.6 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -0
- package/dist/vite.d.ts +2 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -62,6 +62,8 @@ UnoCSS is designed **NOT** to be/have:
|
|
|
62
62
|
|
|
63
63
|
## Installation
|
|
64
64
|
|
|
65
|
+
### Vite
|
|
66
|
+
|
|
65
67
|
```bash
|
|
66
68
|
npm i -D unocss
|
|
67
69
|
```
|
|
@@ -88,6 +90,24 @@ That's it, have fun.
|
|
|
88
90
|
|
|
89
91
|
See [all packages](https://github.com/antfu/unocss/tree/main/packages).
|
|
90
92
|
|
|
93
|
+
### Nuxt
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
npm i -D @unocss/nuxt
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
```ts
|
|
100
|
+
// nuxt.config.js
|
|
101
|
+
|
|
102
|
+
export default {
|
|
103
|
+
buildModules: [
|
|
104
|
+
'@unocss/nuxt'
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Refer to the full documentation on https://github.com/antfu/unocss/tree/main/packages/nuxt
|
|
110
|
+
|
|
91
111
|
## Configurations
|
|
92
112
|
|
|
93
113
|
UnoCSS is an atomic-CSS engine instead of a framework. Everything is designed with flexibility and performance in mind. In UnoCSS, there are no core utilities; all functionalities are provided via presets.
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VitePluginConfig } from '@unocss/vite';
|
|
2
2
|
export * from '@unocss/vite';
|
|
3
3
|
import { Plugin } from 'vite';
|
|
4
4
|
|
|
5
|
-
declare function UnocssVitePlugin(configOrPath?:
|
|
5
|
+
declare function UnocssVitePlugin(configOrPath?: VitePluginConfig | string): Plugin[];
|
|
6
6
|
|
|
7
7
|
export { UnocssVitePlugin as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unocss",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "The instant on-demand Atomic CSS engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"*.d.ts"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@unocss/core": "0.
|
|
44
|
-
"@unocss/cli": "0.
|
|
45
|
-
"@unocss/reset": "0.
|
|
46
|
-
"@unocss/preset-icons": "0.
|
|
47
|
-
"@unocss/preset-attributify": "0.
|
|
48
|
-
"@unocss/preset-uno": "0.
|
|
49
|
-
"@unocss/vite": "0.
|
|
43
|
+
"@unocss/core": "0.12.4",
|
|
44
|
+
"@unocss/cli": "0.12.4",
|
|
45
|
+
"@unocss/reset": "0.12.4",
|
|
46
|
+
"@unocss/preset-icons": "0.12.4",
|
|
47
|
+
"@unocss/preset-attributify": "0.12.4",
|
|
48
|
+
"@unocss/preset-uno": "0.12.4",
|
|
49
|
+
"@unocss/vite": "0.12.4"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=14"
|