Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fis 支持小程序? #1266

Closed
patchBig opened this issue Jun 29, 2018 · 3 comments · May be fixed by #1279
Closed

fis 支持小程序? #1266

patchBig opened this issue Jun 29, 2018 · 3 comments · May be fixed by #1279

Comments

@patchBig
Copy link

fis 支持将小程序中 wxml 中的 image 标签做 src 的资源定位吗?(我试了一下发现并不能编译过去。。。应该要怎么做?望指教)

@patchBig
Copy link
Author

要把 wxml 类 html 吗?然后 image 编译成 img,用 parser 吗?类 html 的时候资源定位会起作用吗?还是说直接在 JS 里面用 __uri()?

@oxUnd
Copy link
Contributor

oxUnd commented Jun 29, 2018

配置下就行

fis.set('project.fileType.text', 'wxml');

fis.match('*.wxml', {
  isHtmlLike: true
});

damoclesX added a commit to damoclesX/fis3 that referenced this issue Nov 2, 2018
fix fex-team#1266
增加小程序image,cover-image路径解析支持
@damoclesX
Copy link

还需要改些compile的正则才行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants