@unocss/nuxt 0.32.0 → 0.32.8
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/LICENSE +1 -1
- package/README.md +3 -3
- package/package.json +13 -14
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021 Anthony Fu <https://github.com/antfu>
|
|
3
|
+
Copyright (c) 2021-PRESENT Anthony Fu <https://github.com/antfu>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ npm i -D @unocss/nuxt
|
|
|
21
21
|
// nuxt.config.js
|
|
22
22
|
|
|
23
23
|
export default {
|
|
24
|
-
|
|
24
|
+
modules: [
|
|
25
25
|
'@unocss/nuxt',
|
|
26
26
|
],
|
|
27
27
|
}
|
|
@@ -35,7 +35,7 @@ In the Nuxt module, we also provided some shortcuts for official presets:
|
|
|
35
35
|
// nuxt.config.js
|
|
36
36
|
|
|
37
37
|
export default {
|
|
38
|
-
|
|
38
|
+
modules: [
|
|
39
39
|
'@unocss/nuxt',
|
|
40
40
|
],
|
|
41
41
|
unocss: {
|
|
@@ -53,4 +53,4 @@ export default {
|
|
|
53
53
|
|
|
54
54
|
## License
|
|
55
55
|
|
|
56
|
-
MIT License
|
|
56
|
+
MIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/nuxt",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.8",
|
|
4
4
|
"description": "Nuxt module for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
"sideEffects": false,
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@nuxt/kit": "^3.0.0-rc.1",
|
|
40
|
-
"@unocss/core": "0.32.
|
|
41
|
-
"@unocss/preset-attributify": "0.32.
|
|
42
|
-
"@unocss/preset-icons": "0.32.
|
|
43
|
-
"@unocss/preset-typography": "0.32.
|
|
44
|
-
"@unocss/preset-uno": "0.32.
|
|
45
|
-
"@unocss/preset-web-fonts": "0.32.
|
|
46
|
-
"@unocss/preset-wind": "0.32.
|
|
47
|
-
"@unocss/reset": "0.32.
|
|
48
|
-
"@unocss/vite": "0.32.
|
|
49
|
-
"@unocss/webpack": "0.32.
|
|
50
|
-
"unocss": "0.32.
|
|
40
|
+
"@unocss/core": "0.32.8",
|
|
41
|
+
"@unocss/preset-attributify": "0.32.8",
|
|
42
|
+
"@unocss/preset-icons": "0.32.8",
|
|
43
|
+
"@unocss/preset-typography": "0.32.8",
|
|
44
|
+
"@unocss/preset-uno": "0.32.8",
|
|
45
|
+
"@unocss/preset-web-fonts": "0.32.8",
|
|
46
|
+
"@unocss/preset-wind": "0.32.8",
|
|
47
|
+
"@unocss/reset": "0.32.8",
|
|
48
|
+
"@unocss/vite": "0.32.8",
|
|
49
|
+
"@unocss/webpack": "0.32.8",
|
|
50
|
+
"unocss": "0.32.8"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@nuxt/schema": "^3.0.0-rc.1"
|
|
@@ -55,6 +55,5 @@
|
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "unbuild",
|
|
57
57
|
"stub": "unbuild --stub"
|
|
58
|
-
}
|
|
59
|
-
"readme": "# @unocss/nuxt\n\nNuxt module for UnoCSS\n\n## Supporting Status\n\n| | Nuxt 2 | Nuxt Bridge | Nuxt 3 |\n| --- | --- | --- | --- |\n| Webpack Dev | ✅ | ✅ | 🚧 |\n| Webpack Build | ✅ | ✅ | ✅ |\n| Vite Dev | - | ✅ | ✅ |\n| Vite Build | - | ✅ | ✅ |\n\n## Installation\n\n```bash\nnpm i -D @unocss/nuxt\n```\n\n```js\n// nuxt.config.js\n\nexport default {\n buildModules: [\n '@unocss/nuxt',\n ],\n}\n```\n\n## Configuration\n\nIn the Nuxt module, we also provided some shortcuts for official presets:\n\n```js\n// nuxt.config.js\n\nexport default {\n buildModules: [\n '@unocss/nuxt',\n ],\n unocss: {\n // presets\n uno: true, // enabled `@unocss/preset-uno`\n icons: true, // enabled `@unocss/preset-icons`\n attributify: true, // enabled `@unocss/preset-attributify`,\n\n // core options\n shortcuts: [],\n rules: [],\n },\n}\n```\n\n## License\n\nMIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu)\n"
|
|
58
|
+
}
|
|
60
59
|
}
|