shop-wx/doc/迁移指令.md

20 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@doc\thirdParty\ 文件夹下是旧H5项目的代码现在已经将其api部分的代码移植到了本微信小程序项目。现在需要移植页面改为
微信小程序uni-app的写法第一步先移植首页 @doc\thirdParty\src\pages\product\ 内的页面和全部组件,小程序写法参考
@src\pages\index\index.vue
。仅参考语法api需要使用原ProductList.vue中已经移植到本项目的相应apistores也需要使用移植后的pinia。生成的代码写到
@src\pages\home\ 文件夹下
参考已迁移至本项目的代码 @src\pages\index\ 。将 @doc\thirdParty\src\pages\me\index.vue
“我的”页面也迁移到本项目。注意thirdParty下的是H5项目现在需要改为微信小程序uni-app。api需要使用原Product
List.vue中已经移植到本项目的相应apistores也需要使用移植后的pinia。生成的代码写到 @src\pages\me\ 文件夹下
参考已迁移至本项目的代码 @src\pages\index\ 和迁移文档 @doc\迁移工作总结.md 。将
@doc\thirdParty\src\pages\rental\index.vue
我的柜子页面也迁移到本项目。注意thirdParty下的是H5项目现在需要改为微信小程序uni-app。api需要使用原Product
List.vue中已经移植到本项目的相应apistores也需要使用移植后的pinia。生成的代码写到 @src\pages\order\ 文件夹下
参考已迁移至本项目的代码 @src\pages\index\ 和迁移文档 @doc\迁移工作总结.md 。将
@doc\thirdParty\src\pages\approval\submit.vue
退还申请页面也迁移到本项目。注意thirdParty下的是H5项目现在需要改为微信小程序uni-app。api需要使用原项目中已经移
植到本项目的相应apistores也需要使用移植后的pinia。生成的代码写到 @src\pages\approval\ 文件夹下