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

FEATURE: Support babel or other loader in .we files #680

Closed
david50407 opened this issue Jul 1, 2016 · 2 comments
Closed

FEATURE: Support babel or other loader in .we files #680

david50407 opened this issue Jul 1, 2016 · 2 comments
Assignees

Comments

@david50407
Copy link

For now, we only can chained other loader for parted files like: .js, .css, .tpl. But not for .we files.

Vue use a selector loader for picking out the script/template/style parts from .vue file in the chain. (src)

——
我們現在只能在獨立的 .js, .css, .tpl 檔案中使用其他的 loader。

而 Vue 是利用一個 selector 的 loader 將 .vue 的某部分取出,再送給下一個 loader,也許 Weex 也能效仿這樣的做法來讓 .we 檔可以被其他的 loader 渲染

@Jinjiang
Copy link
Contributor

Jinjiang commented Jul 4, 2016

Yes that's much better. Thanks.
We will transfer this issue to weex-loader project: https://github.com/weexteam/weex-loader

@terrykingcha
Copy link
Contributor

@david50407 It's done! weex-loader@0.3.0-alpha

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

No branches or pull requests

3 participants