You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now start using [`<NuxtImg>`](/usage/nuxt-img) and [`<NuxtPicture>`](/usage/nuxt-picture) components in your Nuxt app ✨
34
+
You can now start using [`<NuxtImg>`](/usage/nuxt-img) and [`<NuxtPicture>`](/usage/nuxt-picture) components in your application ✨
35
35
36
36
## Configuration
37
37
@@ -43,7 +43,48 @@ image: {
43
43
}
44
44
```
45
45
46
-
See the [image configuration](/get-started/configuration) for all available options and features to customize.
46
+
::callout
47
+
Checkout the [image configuration](/get-started/configuration) for all available options and features to customize.
48
+
::
49
+
50
+
## Edge Channel
51
+
52
+
After each commit is merged into the `main` branch of `@nuxt/image` and **passing all tests**, we trigger an automated npm release using Github Actions publishing a [`@nuxt/image-edge`](https://npmjs.com/package/@nuxt/image-edge) package.
53
+
54
+
You can opt in to use this release channel and avoid waiting for the next release and helping the module by beta testing changes.
55
+
56
+
The build and publishing method and quality of edge releases are the same as stable ones. The only difference is that you should often check the [GitHub repository](https://github.com/nuxt/image) for updates. There is a slight chance of regressions not being caught during the review process and by the automated tests. Therefore, we internally use this channel to double-check everything before each release.
Remove lockfile (`package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`) and reinstall dependencies.
87
+
47
88
48
89
## Troubleshooting
49
90
@@ -53,25 +94,25 @@ If an error occurs during installation:
53
94
54
95
- Try to upgrade to latest versions:
55
96
56
-
::code-group
57
-
```bash [pnpm]
58
-
pnpm up @nuxt/image@rc
59
-
```
97
+
::code-group
98
+
```bash [pnpm]
99
+
pnpm up @nuxt/image@rc
100
+
```
60
101
61
-
```bash [yarn]
62
-
yarn upgrade @nuxt/image@rc
63
-
```
102
+
```bash [yarn]
103
+
yarn upgrade @nuxt/image@rc
104
+
```
64
105
65
-
```bash [npm]
66
-
npm up @nuxt/image@rc
67
-
```
68
-
::
106
+
```bash [npm]
107
+
npm up @nuxt/image@rc
108
+
```
109
+
::
69
110
70
111
- Try recreating lock-file:
71
112
72
-
```bash
73
-
npx nuxt@latest upgrade --force
74
-
```
113
+
```bash
114
+
npx nuxt@latest upgrade --force
115
+
```
75
116
76
117
- If there is still an error related to `sharp` and `node-gyp`, it is is probably becase your OS architecture or NodeJS version is not included in pre-built binaries and needs to built from source (for example, this sometimes occurs on Apple M1). Checkout [node-gyp](https://github.com/nodejs/node-gyp#installation) for install requirements.
0 commit comments