Aucune description

JXDS18FUJT 0c9e4a607c 禁止图片保存 il y a 2 ans
cert 87a02afe1f 更新webpack-dev-server之前 il y a 2 ans
public 8e519284d3 新增看pdf图片的页面 il y a 2 ans
src 0c9e4a607c 禁止图片保存 il y a 2 ans
.gitignore 280c59e389 修改了架子 il y a 2 ans
README.md e1cee8618f 补齐部图片分资源 il y a 2 ans
index.html 8e519284d3 新增看pdf图片的页面 il y a 2 ans
package-lock.json e8ddc42bf0 传递参数的方式更改 il y a 2 ans
package.json e8ddc42bf0 传递参数的方式更改 il y a 2 ans
tsconfig.json 9cb464ea57 tsconfig 添加baseUrl il y a 2 ans
vite.config.ts 280c59e389 修改了架子 il y a 2 ans
yarn.lock 280c59e389 修改了架子 il y a 2 ans

README.md

This is a vite2 & React17 & Typescript demo

TODO

  • 集成 Redux,或者使用封装过的 dva.js

  • 约定式路由

  • 还记得 babel-plugin-import 吗,在 Vite 中,如果想样式按需加载,可以尝试使用这个插件:vite-plugin-style-import,现在已经支持 Vite 2

  • less 换成 scss

  • Production ModeSSR,参照官网配置即可,遇到什么坑可以一起讨论