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

如何使用php作为开发模板? #121

Closed
li-yinan opened this issue Jul 12, 2016 · 2 comments
Closed

如何使用php作为开发模板? #121

li-yinan opened this issue Jul 12, 2016 · 2 comments

Comments

@li-yinan
Copy link

我们项目后端使用smarty开发,但是我发现express没办法渲染php,现在我做了一个express的php解析插件,但是我发现这个插件没办法和html-webpack-plugin一起使用,也就是说我的js入口没办法自动打md5戳。
现在我也可以写一个php-loader来支持webpack对php的处理,但是感觉是在npm run dev之后就编译一次,而不是每次访问时编译,只有当文件变化时才会自动的编译。
请问如何做到每次访问php时再生成html,并且能够使用html-webpack-plugin自动打md5戳?

@superlbr
Copy link

superlbr commented Aug 4, 2016

听说laveral已经默认vue.js作为默认js模版了

@posva
Copy link
Member

posva commented Sep 11, 2016

Closing because of inactivity and because it's not related to vue-cli

@posva posva closed this as completed Sep 11, 2016
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