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

想问下如何修改输出端口号呢? #1

Open
magic2728 opened this issue Jun 28, 2021 · 1 comment
Open

想问下如何修改输出端口号呢? #1

magic2728 opened this issue Jun 28, 2021 · 1 comment

Comments

@magic2728
Copy link

No description provided.

@noiron
Copy link
Owner

noiron commented Jul 12, 2021

修改 package.json 文件中的 dev 命令。

- "dev": "parcel index.html",
// 默认的端口号是 1234,你可以像下面这样任意指定端口号
+ "dev": "parcel index.html --port 5678",

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

No branches or pull requests

2 participants