Comments (3)
github page 是不是默认情况下不支持 SPA 的
from modern.js.
github page 是不是默认情况下不支持 SPA 的
好的,谢谢,我试试用404.html的方式来实现下看看
from modern.js.
结合这篇文章解决了 GitHub Pages 如何实现 SPA;
不过在modernjs里面,index.html(入口组件中)中要用 useNavigate来进行跳转,不能用 history.replaceState
from modern.js.
Related Issues (20)
- [Feature]: Plugin for shadcn/ui HOT 3
- [Bug]: v2.54.0 启用可选功能, 丢失测试功能 HOT 5
- Benchmark Performance Degradation (2024-06-27) HOT 1
- [Bug]: 同时开启bff和ssg,build报错 HOT 1
- [Bug]: Minor inconsistency in MFE Guides
- [Bug]: modern.js 开启 storybook 能力之后启动storybook报错
- [Bug]: 捉个虫,文档打错字
- [Bug]: getAppList for micro-frontends now working anymore HOT 2
- [Bug]: Cannot execute unplugin with rspack HOT 1
- [Bug]: can not access app via ipv4 HOT 2
- [Bug]: Cannot use default import statement in modern.config.ts within esm package HOT 4
- [Bug]: 开启 `Rspress Module Doc` 功能,代码块设置 iframe,报 Can't resolve 'react/jsx-dev-runtime'
- [Feature]: 可选的集成支持以及外部模板 HOT 2
- [Bug]: 根据文档操作微前端运行失败
- [Bug]:使用微前端后,loader会执行多次 HOT 4
- [Bug]: When building using useContext in koa I am getting a typing error HOT 2
- [Feature]: Support OPTIONS method request for server on ModernJs
- [Bug]: github工作流中yarnbuild 会完成打包但是无法自动退出命令行 HOT 2
- [Bug]: 微前端约定路由,切换到主应用路由后再回到子应用不再渲染
- [Bug]: TypeError: (0 , server_1.useContext) is not a function HOT 3
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 modern.js.