-
/usr/local/lib/node_modules/uni-migration/node_modules/babel-core/lib/transformation/file/index.js:590
throw err;
^
SyntaxError: unknown: Unexpected token (23:19)
21 | }
22 |
…
-
带分包的小程序解包WXSS不全,wxml解压不出来!
-
wxss,解不出来了,微信规则改了
C-pan updated
5 months ago
-
# [问题简单描述]
**问题复现步骤:**
1. [第一步]
第一次正常编写相关代码后,关掉相关IDE和小程序工具
重新打开编辑程序运行 RUN DEV
就提示找不到文件,编译WXSS文件出错;
删除掉相关文件,重新建又可以
3. [其他步骤...]
![image](https://user-images.githubusercontent.com/20310…
-
### 构建npm产生一下错误
[ WXML 文件编译错误] ./miniprogram_npm/weui-miniprogram/slideview/slideview.wxml
/_commons/slideview.1ffeeca0.wxs not found from ./miniprogram_npm/weui-miniprogram/slideview/slideview.wxml…
-
-
在使用 **atom** 作为微信小程序开发 IDE 时,由于微信小程序的模板文件拓展名为 `.wxml` 和样式文件名为 `.wxss`,使得 **atom** 无法识别语法做代码高亮,更不能使用 emmet 插件进行补全。
1. 支持语法高亮
```javascript
// 在 config.cson 里 `core` 配置下添加 `customFileTypes` 配置即可…
-
使用labrador build -m压缩编译后,页面的WXSS里面的CSS有丢失,导致CSS样式不正确,加上--ignore-minify-page参数编译,WXSS不压缩则是正常的。
-
在使用 less/sass/stylus 时,会用到 @import 语句,页面A和页面B 同时 import 了同一个文件时,实际上这个文件被被分别编译进了 a.wxss 和 b.wxss。
实际上小程序是支持@import 语法的,所以这一部分不用重复编译的
因此,参考 Less 的 [import-options](http://www.css88.com/doc/less/feat…
-
# 微信小程序 入坑
### 工具 微信开发者工具
### [官网:https://mp.weixin.qq.com/cgi-bin/wx(工具文档都在这里)](https://mp.weixin.qq.com/cgi-bin/wx)
### 结构
```
├─images # 图片
│
├─pages …