Comments (8)
看文档啊。。写得很清楚了。默认示例就包含 build
静态文件夹
from ssr.
How to define my own routing page that is not matched?
from ssr.
Please read document carefully
http://doc.ssr-fc.com/docs/features$faq#404%20500%20%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86
from ssr.
Thanks
from ssr.
This redirection changes the URL address and visits a defined 404 page. Is there any way to render the page without changing the address, similar to the effect of rewrite.
from ssr.
Again, read the documentation carefully
from ssr.
http://127.0.0.1:3000/user/12123 the url will be redirect http://127.0.0.1:3000/404.
I want to directly display the page not found when I visit http://127.0.0.1:3000/user/12123 instead of visiting the route /404.
I feel that this framework does not seem to support.
from ssr.
你要是想保持path不变,你就在服务端render一个模版提示错误页面。不可能给你去渲染一个不存在的组件,就算指定服务端渲染哪个组件到了客户端阶段也会not match。。。。麻烦简单把文档看一遍了解下基本流程再来提问
from ssr.
Related Issues (20)
- feature: 支持 html <head> 标签内容分块提前返回 HOT 1
- setHeader error in bigpipe mode when second render HOT 4
- 有工作推选么最近我想换工作>
- 有工作推选么 最近我想换工作
- 我的可以路由同构,然后不需要修改什么配置可以自由切换csr和ssr,然后可以webpack 构架微服务吧。不知道你那有没这功能> HOT 2
- 请问如何实现类似nextjs中的refetch能力,可以让页面主动触发fetch方法? HOT 7
- ssr build --optimize 运行报错 HOT 2
- 按照快速开始指南,部署到阿里云函数计算FC后,打开直接500 HOT 5
- 好像不支持动态配置文件 HOT 4
- Webpack最优化问题 HOT 1
- 使用antd时存在样式闪烁问题 HOT 7
- sourcemap 对应配置完善后,构建产物中未生成 sourcemap 文件 HOT 2
- 官网挂了,麻烦看一下 HOT 4
- ssr build 优化建议 HOT 3
- 框架怎么设置 productionSourceMap HOT 3
- vite编译超时 HOT 3
- 怎么引入element-plus HOT 14
- 通过 less loader 配置的 less 变量不生效 HOT 5
- 请问有没有 egg的服务端插件? 如果没有,后端想使用egg,该怎么做呢,谢谢。 HOT 5
- 访问未定义的路由时,server端代码报错
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 ssr.