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

gulp-tmod编译模板后 模块名字变成了本地的绝对路径? #116

Open
zhangyufen opened this issue Apr 7, 2016 · 1 comment

Comments

@zhangyufen
Copy link

手动用tmodjs 编译模板时,模块名字与模板文件的名字相同,但是使用gulp-tmod自动编译模板后,模板的名字变成了绝对路径。

@evanxu
Copy link

evanxu commented Apr 14, 2016

@zhangyufen 需要设置 templateBase 属性,将它设为模板所在的路径

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

2 participants