Comments (10)
不是index.html文件位置的问题,可以打开控制台看下报错,或者截图看下启动台
from wp2vite.
不是index.html位置的问题,可以打开读取文件看下报错,或者截图看下启动台
from wp2vite.
vite不支持require。
from wp2vite.
不是index.html文件位置的问题,可以打开控制台看下报错,或者截图看下启动台
我的控制台没有报错,这就离谱了
from wp2vite.
vite 不支持require。
那请问有什么办法 解决这个问题吗
from wp2vite.
vite 不支持require。
那请问有什么办法 解决这个问题吗
from wp2vite.
vite 不支持require。
那请问有什么办法 解决这个问题吗
用import
from wp2vite.
改代码,把所有的require改成import的方式去引用,非常老的项目不建议去转成vite,很多问题是没法去兼容的。
from wp2vite.
请问解决了吗?我切换成vite也是变成空白页面,浏览器控制台有个“脚本是module” 但是服务端返回的是text/html的报错
from wp2vite.
请问解决了吗?我切换成vite也是变成空白页面,浏览器控制台有个“脚本是module” 但是服务端返回的是text/html的报错
请问你的这个问题解决了吗?我和你的问题是一致的。
from wp2vite.
Related Issues (20)
- webpack react项目 转化后 不识别< 标签前缀 与... 请问是什么原因? HOT 2
- 转化后 vue的 :class 语法报错 Unexpected token HOT 1
- 不支持webpack.config.ts
- 转换完毕后,组件无法进行挂载,template或render方法未定义 HOT 1
- [wp2vite-error]:Error: The NODE_ENV environment variable is required but was not specified. HOT 2
- 运行后打开链接 502 HOT 1
- 关于antd主题的 HOT 3
- vue3 elementPlus项目转换后报一堆错误,无法运行 HOT 2
- 目前无法支持vue2+tsx+class的项目吗
- 加载不到index.html
- 404 page not found
- 项目启动后报错:TypeError: Unexpected MODIFIER at 11, expected END HOT 1
- Object(...) is not a function HOT 1
- 路由懒加载 和@路径报错 HOT 1
- React 项目报错 React is undefined HOT 2
- 基于easywebpack转换出错 HOT 3
- 2.9.4 转换alias错误
- 有交流群吗? HOT 1
- 寻找交流群
- 如果失败,支持回退到webpack吗? HOT 2
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 wp2vite.