wechat-miniprogram / wechat-miniprogram/miniprogram-demo
从仓库Issues区提炼出来的跑demo步骤【2024613版】:
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 2.2k
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 2
Description
1、本地必须安装:git,npm
2、git clone https://github.com/wechat-miniprogram/miniprogram-demo.git
注:默认根目录为:miniprogram-demo,后续操作全部在根目录执行,miniprogram那个子目录看起来很诱惑,但不需要在这个或其他任何子目录做任何操作或执行命令;
3、微信开发者工具 小程序->导入,导入目录为根目录 ,appID使用测试号,导入后不出意外必定报错,先不管
4、打开根目录下的package.json,将"@tencent/eslint-config-wxapp": "^0.5.2" 改为 "eslint-config-wxapp": "^1.0.0"
5、打开根目录下的.gitmodules,将[submodule "miniprogram/packageSkylineExamples"]项的 url=xxx 那行改为 url = https://github.com/wechat-miniprogram/awesome-skyline.git
6、根目录下执行命令 npm install --legacy-peer-deps
7、根目录下执行命令 npm run init --legacy-peer-dep
8、开发者工具 工具->构建npm
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the proposed setup sequence against package.json and .gitmodules, then determine where repository setup instructions belong. Verify the listed git, npm, npm install, npm run init, and developer-tool steps from the repository root. Done means a documented, reproducible setup path with the required dependency and submodule changes clearly identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100