iview / iview/iview-admin

部署环境问题

Open
#570 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.3k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/3349113/38305326-0fe8e37c-383f-11e8-8cd8-8e886864c404.png)
本地服务器上编译都没有问题,没有报错。但是发布到服务器上npm run build后,直接访问服务器IP,显示如上图。看了发布的资源路径和本地测试都一致。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the deployment with npm run build and compare the published resource paths with the local test described in the issue. Inspect the build output and direct server-IP access; done means the deployed page loads correctly without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, webpack
Domain
build-system, devops
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.