Skip to content

Conversation

@cwandev
Copy link
Collaborator

@cwandev cwandev commented Nov 11, 2025

Closes #21

@cwandev cwandev linked an issue Nov 11, 2025 that may be closed by this pull request
@cwandev cwandev requested a review from peoray November 11, 2025 15:57
@peoray
Copy link
Collaborator

peoray commented Nov 11, 2025

@cwandev not sure what the issue is but I can't collapse the other sub folders except I manually navigate to a component and then the preview and code component does not display.

is this behavior only on my machine?

fwiw, I think it's best if we reduce scope for PRs

@cwandev
Copy link
Collaborator Author

cwandev commented Nov 12, 2025

@peoray I guess you might be running into something like this (please check your console):

node_modules/dayjs/dayjs.min.js' does not provide an export named 'default'

This issue sometimes occurs with Nuxt v3 — see this discussion.

Although Daniel Roe fixed it, it can still happen in certain environments.

In this PR, I’ve added the dayjs to vite.optimizeDeps.include to temporarily fix the issue.

We might need to wait until shadcn-docs-nuxt supports Nuxt v4 to completely avoid it.

You can try these steps:

  1. Go to apps/www
  2. Run pnpm install (the www package has a different pnpm setup and node_modules structure)
  3. Delete node_modules and reinstall if necessary
  4. Run pnpm dev:www again

Sorry this PR includes so many changes — the workflow-related components are tightly coupled.
I think the workflow element might be an exception here. What do you think?

…fix panel component docs code-block indentation
Copy link
Collaborator

@peoray peoray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏽

@peoray peoray merged commit 221ebaf into main Nov 12, 2025
@cwandev cwandev deleted the feature/workflow-elements branch November 15, 2025 04:03
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

Successfully merging this pull request may close these issues.

Workflow elements

3 participants