histoire
histoire copied to clipboard
Nuxt error when using nuxt-seo-kit
Describe the bug
When using nuxt seo kit with histoire, histoire still run normally but nuxt log an error with nuxt-head which cause this error to be display in each story
Screen of bug
Reproduction
https://stackblitz.com/edit/histoire-nuxt3-starter-eb2jnf-5rqrar
System Info
System:
OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
CPU: (16) x64 AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 3.92 GB / 14.86 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.17.0/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
pnpm: 8.0.0 - ~/.local/share/pnpm/pnpm
Packages infos can be found in the stackblitz
Used Package Manager
pnpm
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.
Start a new pull request in StackBlitz Codeflow.
Just to let you know i did find a workaround.
I've use an env variable to disabled nuxt-seo-kit when launching histoire
DISABLED_SEO=true histoire dev
But in don't really like the syntax, do we have a way to pass an .env file to histoire like nuxt does ?