@unocss/nuxt 0.50.7 → 0.51.0

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.
Files changed (2) hide show
  1. package/README.md +2 -47
  2. package/package.json +14 -14
package/README.md CHANGED
@@ -2,54 +2,9 @@
2
2
 
3
3
  Nuxt module for UnoCSS
4
4
 
5
- ## Supporting Status
5
+ ## Documentation
6
6
 
7
- | | Nuxt 2 | Nuxt Bridge | Nuxt 3 |
8
- | --- | --- | --- | --- |
9
- | Webpack Dev | ✅ | ✅ | 🚧 |
10
- | Webpack Build | ✅ | ✅ | ✅ |
11
- | Vite Dev | - | ✅ | ✅ |
12
- | Vite Build | - | ✅ | ✅ |
13
-
14
- ## Installation
15
-
16
- ```bash
17
- npm i -D @unocss/nuxt
18
- ```
19
-
20
- ```js
21
- // nuxt.config.js
22
-
23
- export default {
24
- modules: [
25
- '@unocss/nuxt',
26
- ],
27
- }
28
- ```
29
-
30
- ## Configuration
31
-
32
- In the Nuxt module, we also provided some shortcuts for official presets:
33
-
34
- ```js
35
- // nuxt.config.js
36
-
37
- export default {
38
- modules: [
39
- '@unocss/nuxt',
40
- ],
41
- unocss: {
42
- // presets
43
- uno: true, // enabled `@unocss/preset-uno`
44
- icons: true, // enabled `@unocss/preset-icons`
45
- attributify: true, // enabled `@unocss/preset-attributify`,
46
-
47
- // core options
48
- shortcuts: [],
49
- rules: [],
50
- },
51
- }
52
- ```
7
+ Please refer to the [documentation](https://unocss.dev/integrations/nuxt).
53
8
 
54
9
  ## License
55
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/nuxt",
3
- "version": "0.50.7",
3
+ "version": "0.51.0",
4
4
  "description": "Nuxt module for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -38,19 +38,19 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@nuxt/kit": "^3.3.3",
41
- "@unocss/config": "0.50.7",
42
- "@unocss/core": "0.50.7",
43
- "@unocss/preset-attributify": "0.50.7",
44
- "@unocss/preset-icons": "0.50.7",
45
- "@unocss/preset-tagify": "0.50.7",
46
- "@unocss/preset-typography": "0.50.7",
47
- "@unocss/preset-uno": "0.50.7",
48
- "@unocss/preset-web-fonts": "0.50.7",
49
- "@unocss/preset-wind": "0.50.7",
50
- "@unocss/reset": "0.50.7",
51
- "@unocss/vite": "0.50.7",
52
- "@unocss/webpack": "0.50.7",
53
- "unocss": "0.50.7"
41
+ "@unocss/config": "0.51.0",
42
+ "@unocss/core": "0.51.0",
43
+ "@unocss/preset-attributify": "0.51.0",
44
+ "@unocss/preset-icons": "0.51.0",
45
+ "@unocss/preset-tagify": "0.51.0",
46
+ "@unocss/preset-typography": "0.51.0",
47
+ "@unocss/preset-uno": "0.51.0",
48
+ "@unocss/preset-web-fonts": "0.51.0",
49
+ "@unocss/preset-wind": "0.51.0",
50
+ "@unocss/reset": "0.51.0",
51
+ "@unocss/vite": "0.51.0",
52
+ "@unocss/webpack": "0.51.0",
53
+ "unocss": "0.51.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@nuxt/schema": "^3.3.3"