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

使用uni cli基于vite-ts模板创建的项目,运行H5开发环境时,hybrid目录下文件无法访问404 #4562

Closed
Charlotte007 opened this issue Oct 12, 2023 · 2 comments

Comments

@Charlotte007
Copy link

问题描述
使用uni cli基于vite-ts模板创建的项目:
1、如果 hybrid 目录放在与pages同级,运行H5开发环境时,hybrid目录下文件无法访问404;打包后可以通过webview访问;
2、如果 hybrid 目录放在与src同级,运行H5开发环境时,可以访问;但打包后没有hybrid文件;

@yurj26
Copy link
Member

yurj26 commented Nov 30, 2023

我这里测试是可以的,提供下测试工程吧。

@GRCmade
Copy link
Collaborator

GRCmade commented Mar 28, 2025

长时间未回复,关闭 issue,如果还存在这个问题,可以重新打开

@GRCmade GRCmade closed this as completed Mar 28, 2025
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

3 participants