Skip to content

Nuxt Content Alert, Code, Code Syntax Highlighting not working in Nuxt documentation #1635

Closed
nuxt/framework
#8459

Description

@hslee2008

Environment

Nuxi 3.0.0-rc.12 14:47:26
RootDir: /workspace/framework 14:47:26
Nuxt project info: 14:47:26


  • Operating System: Linux
  • Node Version: v16.18.0
  • Nuxt Version: 3.0.0-rc.12
  • Nitro Version: 0.6.0
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

This issue can been seen on Nuxt Documentation repo.

https://v3.nuxtjs.org/getting-started/data-fetching/

Describe the bug

Note: This bug seems to happen occasionally. When reloading the page or transition through page.

Overall, I could not find any difference between the code from /data-fetching and the code from other files, which seems to be fine.
Maybe (?) this is nuxt/content issue.
It appears both in build and development.

Seems like Data Fetching directory has some problems.

Alert Not Working (1)

alert

But then, while profiling...

alert fixed

As you can see, this might be an issue from Nuxt content.

Code Not Working (2)

code1
code2

Code Syntax Coloring Working Weirdly (3)

syntax1
syntax2
syntax3

Additional context

No response

Logs

No response

Activity

  1. atinux commented on Oct 24, 2022

    @atinux
    Member

    Can you check @farnabaz ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions