Closed JMaylor closed 8 months ago
Closing as I think that this is actually an issue with nuxt/content > 2.8.0
. I'll make a separate issue after more investigation.
@JMaylor I had the same issue, Have you discovered anything that fixes this?
Same problem with syntax highlighting issue and nuxt/img module not working either, same project works fine on macOS.
Environment
Build Modules: -
Reproduction
npx nuxi@latest init content-app -t content
- uses@nuxt/content v2.10.0
index.md
filenuxt.config.ts
e.g.content: { highlight: { theme: 'light-plus' }}
npm install
http://localhost:3000
. Code syntax highlighting should work fine.node_modules/
andpacakge-lock.json
.pnpm install
.http://localhost:3000
. Code is not highlighted.Describe the bug
When installing
@nuxt/content
withpnpm
, code syntax highlighting does not work.Additional context
This is probably an upstream issue, but I'm not sure with which package.
Logs
No response