docs: small fixes across the documentation (#2692)

* docs: various bug fixes

* docs: add the import in other storage plugins

* docs: fixed the placement of manual taxes doc
This commit is contained in:
Shahed Nasser
2022-11-29 16:29:55 +02:00
committed by GitHub
parent 0c8bdf4dad
commit a917b0a109
6 changed files with 31 additions and 21 deletions

View File

@@ -187,18 +187,22 @@ If youre using a [Next.js](../starters/nextjs-medusa-starter.md) storefront,
If this configuration is not added, youll receive the error ["next/image Un-configured Host”](https://nextjs.org/docs/messages/next-image-unconfigured-host).
In `next.config.js` add the following option in the exported object:
In `next.config.js` add the following option in the exported object:
```jsx
module.exports = {
//other options
images: {
const { withStoreConfig } = require("./store-config")
//...
module.exports = withStoreConfig({
//...
images: {
domains: [
"127.0.0.1",
//any other domains...
//...
"127.0.0.1",
],
},
}
})
```
Where `127.0.0.1` is the domain of your local MinIO server.

View File

@@ -157,6 +157,10 @@ If this configuration is not added, youll receive the error ["next/image Un-
In `next.config.js` add the following option in the exported object:
```jsx
const { withStoreConfig } = require("./store-config")
//...
module.exports = withStoreConfig({
//...
images: {

View File

@@ -144,6 +144,10 @@ If this configuration is not added, youll receive the error ["next/image Un-
In `next.config.js` add the following option in the exported object:
```jsx
const { withStoreConfig } = require("./store-config")
//...
module.exports = withStoreConfig({
//...
images: {