Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: the projectName should not be . in README if created in current directory #161

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

Closed
btea wants to merge 1 commit into vuejs:main from btea:fix/readme-projectName

Conversation

Copy link
Collaborator

@btea btea commented Sep 11, 2022

No description provided.

Copy link
Member

There's no such bug. Because when the user passes . to the command line, the projectName prompt will be skipped; therefore result.projectName will be undefined.

Copy link
Collaborator Author

btea commented Oct 8, 2022

The projectName prompt doesn't seem to be skipped when the user enters ., so the value of projectName is .. Therefore, the title in README is ..
image

Copy link
Member

I can't reproduce it

Copy link
Collaborator Author

btea commented Oct 8, 2022

Follow the steps shown in the figure to reproduce
image

Maybe it's related to the system environment, I'm using windows 🤔

Copy link
Member

😂 You explicitly used . as the project name...
It's a name, not a path. I don't expect people to use it this way.

The way to create the project in the current directory should be pnpm create vue@3 .

Copy link
Collaborator Author

btea commented Oct 9, 2022

🤣 Embarrassing, I always use this to create projects in the current folder.

@btea btea deleted the fix/readme-projectName branch October 9, 2022 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /