Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_canvas
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_canvas
Commits
49a0891d
Commit
49a0891d
authored
Aug 31, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
4448977f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+3
-2
No files found.
README.md
View file @
49a0891d
...
@@ -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
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