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

fix single page mode: unnecessary rewrite from static assets to index.html #89

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

littlegolden
Copy link

@littlegolden littlegolden commented Jul 22, 2022

this pr only fix the problem that could not access static files via url directly which in Single app mode, NOT Multi Page App.

Only for reference of temporary repair.

related issues: #88, #79

BEFORE

【public & assets】

image

AFTER

【public & assets】

image

@littlegolden littlegolden changed the title fix: unnecessary rewrite from static assets to index.html fix unique App mode: unnecessary rewrite from static assets to index.html Jul 22, 2022
@littlegolden littlegolden changed the title fix unique App mode: unnecessary rewrite from static assets to index.html fix single page mode: unnecessary rewrite from static assets to index.html Jul 22, 2022
@codfish
Copy link

codfish commented Sep 12, 2022

@vben-admin @anncwb why the hold up here? this is a massive bug and this seems to be a good fix, could we merge and publish? Otherwise this plugin is kind off unusable as it breaks Vite dev server static assets https://vitejs.dev/guide/assets.html#the-public-directory

@liuye1296
Copy link

这么严重的bug 都不给通过是放弃治疗了嘛?

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

Successfully merging this pull request may close these issues.

3 participants