Commit 49a0891d authored by wildfirecode13's avatar wildfirecode13

Update README.md

parent 4448977f
...@@ -26,7 +26,7 @@ var bg: FYGE.Sprite = new FYGE.Sprite(); ...@@ -26,7 +26,7 @@ var bg: FYGE.Sprite = new FYGE.Sprite();
this.addChild(bg); this.addChild(bg);
``` ```
# react环境测试 # 发布
- project/src/canvas/game/package.json增加script "buildTSAndCopy": "webpack --config webpack.prod.js && node scripts/mergeJs && node scripts/copyJs" - project/src/canvas/game/package.json增加script "buildTSAndCopy": "webpack --config webpack.prod.js && node scripts/mergeJs && node scripts/copyJs"
- project/src/canvas/game下执行 npm run buildTSAndCopy - project/src/canvas/game下执行 npm run buildTSAndCopy
- 修改project/src/app.jsx - 修改project/src/app.jsx
...@@ -36,4 +36,5 @@ return ( ...@@ -36,4 +36,5 @@ return (
<PageCanvas></PageCanvas> <PageCanvas></PageCanvas>
); );
} }
``` ```
\ No newline at end of file - 剩下流程参考https://duiba.oss-cn-hangzhou.aliyuncs.com/spark/doc/index.html
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment