npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

shadcn-docs-nuxt-v3

v0.8.21-alpha.2

Published

Effortless and beautiful docs template built with Nuxt Content & shadcn-vue.

Readme

hero

shadcn-docs-nuxt

built with nuxt npm version npm downloads License sponsor

Beautifully designed Nuxt Content template built with shadcn-vue. Customizable. Compatible. Open Source.

📖 Documentation / Demo

Quick Start

  1. Create a project with the starter template
npx nuxi@latest init -t github:ZTL-UwU/shadcn-docs-nuxt-starter
  1. Navigating to the Project Directory
cd [project-name]
  1. Start dev server
npm run dev

Contributing

  1. Clone this repository.
  2. Install dependencies bun install.
  3. Use bun run dev to start dev server.
  4. Before committing, run bun run lint:fix and bun run typecheck.

Credits

  • Nuxt Content: Content made easy for Vue Developers.
  • shadcn-ui: For the beautiful component & docs design.
  • shadcn-vue: For the vue port of shadcn-ui & some docs component source.
  • Docus: For the inspiration & some docs component source.
  • Nuxt UI Pro Docs: For the inspiration.

Who's Using

License

MIT


Migration Issues

CodeGroup Component Not Showing in PmX

Solution: Add the following to the components section in nuxt.config.ts:

    global: true,

Source: https://github.com/nuxt/content/issues/2443#issuecomment-1944028599

Navigation Routing Issues

Solution 1: Define prefix as /docs

  1. Define prefix as /docs in content.config.ts
  2. This allows useContent to directly get content through queryCollection(doc_${locale.value}).path(route.path).first();
  3. In navigation, since we defined /docs, we get the root path /docs navigation with only one object, so we need to get the children of the first object once:
export async function useNavigation() {
  const { locale } = useI18n();
  const { data } = await useAsyncData('navigation', () => {
    return queryCollectionNavigation(`doc_${locale.value}`)
  });
  return {
    navigation: computed(() => data.value?.[0]?.children),
  };
}

Note: This approach doesn't support multilingual functionality.

Solution 2: Remove prefix to default

Set i18n.strategy: 'prefix' in nuxt.config.ts.

This ensures correct path linking in navigation.

The only issue is that all pages will have language prefixes like /en and /zh.

Known Issues

Code blocks not displaying correctly in pm-x parsing

Syntax highlighting is not working. However, it works fine when displaying code blocks directly.

Related migration: Official change from ProseCode to ProsePre, and ProseCodeInline to ProseCode.

Icons not showing in file tree files

Brief 404 flash when clicking navigation

This occurs when triggering redirect in [...slug].vue