Comments (6)
@suwu150 打包的时候配置一下config/index/h5 => publicPath: './' 即可
from taro.
你的服务器是啥,咋配置的
from taro.
Tomcat,直接将dist文件夹放weapps里边的
from taro.
请问还需要提供什么本地环境信息吗
from taro.
要不换个服务,例如nginx试试?我觉的是你服务器配置的问题,因为编译出来的文件就是简单的静态文件
from taro.
打包的时候配置一下config/index/h5 => publicPath: './' 即可
确实
from taro.
Related Issues (20)
- 想监听小程序底部tabbar的点击事件,使用了useTabItemTap来监听,但是不生效 HOT 3
- taro 3.6.23 type script 5.3.3简单程序报错 HOT 2
- Taro React H5中报错: this.ctx.measureText is not a function
- 文字在按钮内的字体, 和原生小程序里的不一致 HOT 2
- Video播放时间超过100分钟会进行换行显示 HOT 1
- 小程序Video播放时间超过100分钟会进行换行显示
- 抖音小程序如何热重载?
- 小程序是否支持接口请求缓存
- rn: View组件的hoverStyle状态不取消 HOT 2
- 小程序的app.json backgroundColor 背景颜色配置H5端失效!
- h5多页面使用customRoutes报错,'navigateTo:fail page /taro/about is not found',使用 Taro.navigateTo({ url: '/taro/about', });跳转
- 自定义metro.config.js的transformer的assetPlugins报错,plugin是null HOT 1
- 再onLaunch生命周期中使用Taro.reLaunch跳转页面时出现白屏的问题
- Taro.createInnerAudioContext()这个Api无法在h5端完美使用
- 从jest尝试切换到vitest出现 Failed to resolve import HOT 3
- vue3 H5如何打开微信小程序 HOT 1
- 小红书小程序的taro plugin维护问题
- Taro 组件编译为原生自定义组件, 添加了externals配置后组件渲染异常 HOT 1
- React Native无法获取Input、Text等组件的ref
- taro 4.0.0-beta.25 to harmony后在DevEco无法运行 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taro.