1
pagxir 2020 年 12 月 27 日 react 是在浏览器端的,跟 OpenWRT 没有关系。
|
2
gunpowderfans 2020 年 12 月 28 日 via Android
把页面 build 成 index.html 这些就行了
|
3
sbilly 2020 年 12 月 28 日
类似于这样的? https://github.com/zhaojh329/oui 这个是基于 vue 的
|
4
macy 2020 年 12 月 28 日
可以啊,react 写好后会 build 成一个 index.html 加很多 js,openwrt 是个 linux,在上面跑个 server,把 index.html return 回去就行了
|
5
Curtion 2020 年 12 月 28 日
像一楼说的一样,但是还是建议用 luci 那一套,可以省很多事。
|