build后,本地怎么直接点击index.html可以运行?
Open
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 16.3k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
搭的代码就是直接下载下来了,我npm run build后 想本地直接点index.html看下,但是打开显示空白。还报错了
我应该怎么配置?有没有大神帮我说下
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running npm run build and opening the generated index.html to capture the reported error and confirm the blank-page behavior. Inspect the generated index.html and the build configuration to identify the missing local-serving setup; done means the built page loads locally without a blank screen.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100