Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions packages/create-vite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,19 @@ const FRAMEWORKS: Framework[] = [
},
],
},
{
name: 'marko',
display: 'Marko',
color: magenta,
variants: [
{
name: 'marko-run',
display: 'Marko Run ↗',
color: magenta,
customCommand: 'npm create marko@latest -- --name TARGET_DIR',
Copy link
Member

Choose a reason for hiding this comment

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

It seems we have the same problem with #19573 (comment) here.
Merging main branch and updating this to

Suggested change
customCommand: 'npm create marko@latest -- --name TARGET_DIR',
customCommand: 'npm create -- marko@latest --name TARGET_DIR',

should fix the problem.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh! Good to know, thanks @sapphi-red. I added another commit that fixes this.

},
],
},
{
name: 'others',
display: 'Others',
Expand Down
Loading