Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this still work with next.js? #191

Open
tonyxiao opened this issue Dec 8, 2023 · 2 comments
Open

Does this still work with next.js? #191

tonyxiao opened this issue Dec 8, 2023 · 2 comments

Comments

@tonyxiao
Copy link

tonyxiao commented Dec 8, 2023

Seems that the example has been removed. Is next.js / nextra still supported?

4f963b1

@orta
Copy link
Contributor

orta commented Dec 9, 2023

I think people are using it with next, I just haven't used next myself and couldn't really say

@zhangyu1818
Copy link

zhangyu1818 commented Feb 6, 2024

I integrated shikijs with next app router without any issues. When I added twoslash it couldn't run.

Add @shikijs/twoslash to serverComponentsExternalPackages to solve the error.

const nextConfig = {
  experimental: {
    serverComponentsExternalPackages: [
      "@shikijs/twoslash",
    ],
  },
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants