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

feat(cli): support custom npm scripts prefix #4271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Barbapapazes
Copy link
Contributor

Description

Hello 👋,

This PR is the follow-up of #4270. I've added two options to allow developers to customize the prefix of scripts added to package.json.

Actually, if you want to create a blogs, portfolios, and marketing sites, or any sites that use VitePress but not for documentation, you have to manually change the prefix of the scripts added to package.json after running vitepress init.

Linked Issues

Additional Context

I'm building a tutorial on how to create a blog with VitePress and Vue.js from scratch. I used a lot VitePress for documentation, and it was fine. But for blogs, portfolios, and marketing sites, as mentioned in the VitePress documentation, I think the CLI needs some adjustments to make it easier to use and less documentation's oriented.


Tip

The author of this PR can publish a preview release by commenting /publish below.

@github-actions github-actions bot added the stale label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant