wechat-miniprogram / wechat-miniprogram/miniprogram-demo
从编译成功,到真机运行成功,还需要的步骤
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7.2k
- Forks
- 2.2k
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 2
Description
1、message:Error: FileError: '../goods.less' wasn't found. Tried -
说找不到goods.less文件,实际是 windows 目录分隔符是 \,不是/,改过来就好了。将index.less 改为下面这样的:
@import '..\goods.less';
2、需要在
miniprogram-demo\miniprogram\packageSkylineExamples 目录下,新建一个目录awesome-skyline,然后把examples文件夹放到 awesome-skyline 目录下。否则找不到文件。如果你的目录顺序是这样的,这一条可以不管。
真机出效果了,但是模拟器还是空白,有大佬知道原因吗?谢谢
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
Start by reproducing the simulator’s blank output from the miniprogram-demo setup described in the issue, checking the packageSkylineExamples/awesome-skyline/examples directory layout and the index.less import path. Compare the simulator result with the reported real-device result and inspect the resulting error or missing resource. Done means the cause is identified and the simulator renders the example correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100