@vueuse/nuxt 11.1.0 → 11.3.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.
- package/README.md +11 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,6 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
+
Install the vueuse module into your application using [nuxi](https://nuxt.com/docs/api/commands/module):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx nuxi@latest module add vueuse
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Or use npm:
|
|
16
|
+
|
|
9
17
|
```bash
|
|
10
18
|
npm i @vueuse/nuxt @vueuse/core
|
|
11
19
|
```
|
|
@@ -23,12 +31,15 @@ export default defineNuxtConfig({
|
|
|
23
31
|
|
|
24
32
|
The following utils are **disabled** from auto-import for Nuxt to avoid conflicts with Nuxt's built-in utils:
|
|
25
33
|
|
|
34
|
+
- `toRef`
|
|
26
35
|
- `toRefs`
|
|
36
|
+
- `toValue`
|
|
27
37
|
- `useFetch`
|
|
28
38
|
- `useCookie`
|
|
29
39
|
- `useHead`
|
|
30
40
|
- `useTitle`
|
|
31
41
|
- `useStorage`
|
|
42
|
+
- `useImage`
|
|
32
43
|
|
|
33
44
|
You can always use them by explicitly import from `@vueuse/core`
|
|
34
45
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vueuse/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.3.0",
|
|
5
5
|
"description": "VueUse Nuxt Module",
|
|
6
6
|
"author": "Anthony Fu <https://github.com/antfu>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"nuxt": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nuxt/kit": "^3.
|
|
41
|
-
"@vueuse/core": "11.
|
|
42
|
-
"@vueuse/metadata": "11.
|
|
43
|
-
"local-pkg": "^0.5.
|
|
40
|
+
"@nuxt/kit": "^3.14.1592",
|
|
41
|
+
"@vueuse/core": "11.3.0",
|
|
42
|
+
"@vueuse/metadata": "11.3.0",
|
|
43
|
+
"local-pkg": "^0.5.1",
|
|
44
44
|
"vue-demi": ">=0.14.10"
|
|
45
45
|
}
|
|
46
46
|
}
|