Closed i5ting closed 3 years ago
https://github.com/imgcook/imove/tree/online-example , 目前能够生产,但路径和mock/db.json还有问题,需要调试
ok
use codesandbox preview: https://utu9d.sse.codesandbox.io
add sandbox.config.json
{
"template": "node",
"container": {
"port": 8000
}
}
朋友反馈
解法是:
umi build
将example打包,然后使用https://github.com/tschaub/gh-pages
发布example/dist到git pages就好了