Commit 4448977f authored by wildfirecode13's avatar wildfirecode13

Update README.md

parent 151c65a5
...@@ -30,10 +30,10 @@ var bg: FYGE.Sprite = new FYGE.Sprite(); ...@@ -30,10 +30,10 @@ var bg: FYGE.Sprite = new FYGE.Sprite();
- 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
- ```js ```js
- render() { render() {
return ( return (
<PageCanvas></PageCanvas> <PageCanvas></PageCanvas>
); );
} }
- ``` ```
\ No newline at end of file \ 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