[frontend]mermaid code2image - 指南

hello everyone, welcome to my bolg, here i will introduce something interesting, and if you are interested it, please just let me know. follow me and send me a message are both avaiable.

what is mermaid?

Mermaid 是一个工具,它能让你用简单的文字代码,自动画出各种图表。
在这里插入图片描述

为什么我喜欢用 Mermaid?(不一定是mermaid,也可以是类似的文字画图方法)

容易: 写文字比用鼠标画图更快,尤其对于developer。
可以迁移,许可理解。允许版本管理。可以文字检索。

how to visualize mermaid

in online editor
in your own code

result 最终的效果在这里插入图片描述

on the other hand, 另外我还有关于前端路由vs后端路由的思考

前端路由

比如react里面,主要是路由的地址和组件之前的关系问题。
比如path=“/abc” and compontents 对应 <Abc />

后端路由

声明式的。就是as we all know, 大家能够在后端注册路由,那么前端是否可能经过注册路由的方式建立呢?科技上应该可以实现的,但是设计上常用的框架并没有这么设计。基本上前端路由还

路由注册吧就是不过到了nextjs上面有些有趣的事情,基于文件系统路由,本质上就

posted @ 2025-09-18 10:52  yfceshi  阅读(9)  评论(0)    收藏  举报