React、Typescript、Vite、Antd等技术开发中后台项目解决方案,支持keepalive功能,react-redux状态管理,UnoCSS,动态菜单,国际化i18n,虚拟滚动表格。
Home Page:https://southliu.github.io
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
xiumubai opened this issue a year ago · comments
import routes from '~react-pages'
老哥,这个是怎么导入路由页面的,这个写法第一次见
这是vite-plugin-pages插件提供的,具体看 https://www.npmjs.com/package/vite-plugin-pages 这里面有说。
好的,谢谢老哥,你的这个模版已经用在项目中了
嗯嗯,欢迎提bug。