Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
hello_taobao
Commits
c11123c5
Commit
c11123c5
authored
Sep 07, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
30a6d1e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
README.md
README.md
+15
-1
No files found.
README.md
View file @
c11123c5
...
...
@@ -4,6 +4,15 @@
-
开发完毕后生成淘宝代码到/project/dist
-
合并必要的 dist 代码到/taobao文件夹
# 合并技巧
-
src/utils 自主创建的utils文件夹会默认拷贝到生成目录中,自定义文件尽量放到此文件夹中,其他路径文件请自行拷贝
# 星火组件和淘宝组件之间的转换
-
条件渲染和循环渲染见https://duiba.oss-cn-hangzhou.aliyuncs.com/spark/doc/doc/totaobao.html
-
组件props参数规范见https://duiba.oss-cn-hangzhou.aliyuncs.com/spark/doc/doc/totaobao.html
# page
page 的 onload 需要手动修改,否则resList会无法正确获取
...
...
@@ -41,7 +50,12 @@ onInit(props) {
}
```
#
其他
#
script
project/package.json 增加 build 和 start 两个 script
-
project 下执行 npm start 进行 h5 环境调试
-
project 下执行 npm run build 生成淘宝代码
# 其他
-
目前暂不支持redux和hooks
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment