iview / iview/iview-admin

build后,本地怎么直接点击index.html可以运行?

Open
#674 3 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.