whevether
V2EX  ›  React

分享一个我写的 react-router v6+webpack 的模版,压缩后不到 120kb

  •  
  •   whevether · Nov 21, 2021 · 2240 views
    This topic created in 1808 days ago, the information mentioned may be changed or developed.
    https://github.com/whevether/react-template
    写了权限控制以及多个布局的例子。
    3 replies  •  2021-11-27 20:19:00 +08:00
    uen
    uen
    Nov 23, 2021
    1
    感谢分享,已 starr 。( ps:太久没关注,eact-router v6 居然都出了)
    liumingyi1
    liumingyi1
    Nov 26, 2021
    2
    有没有考虑使用 vite
    whevether
    whevether
    OP
    Nov 27, 2021
    3
    @liumingyi1 vite 本身就是 dev server 稍微比 webpack-dev-server 快一点点。 生态差很多.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1327 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:34 · PVG 04:34 · LAX 12:34 · JFK 15:34
    ♥ Do have faith in what you're doing.