84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
之前项目一直用的都是phalcon 框架,使用volt 模板引擎,赋值变量的时候 都是用的是双大括号的赋值 ,如{{data}}最近看到vue,感觉功能还是非常强大的 ,想接入,做多页面使用,但是vue的 变量赋值的时候也是使用双大括号{{}},这样就会造成冲突,服务端编译的时候,会先编译模板 ,想请问有人遇到类似的情况吗,有没有什么好的解决方法
人生最曼妙的风景,竟是内心的淡定与从容!
http://vuejs.org/v2/api/#deli...I just read the documentation. Vue supports custom separators. Thanks for the solution @
I have never used the phalcon framework
But there will definitely be conflicts
After roughly browsing the document, I think it can be solved using literals{{ "{{" }}
{{ "{{" }}
Looking forward to better solutions
http://vuejs.org/v2/api/#deli...
I just read the documentation. Vue supports custom separators. Thanks for the solution @
I have never used the phalcon framework
But there will definitely be conflicts
After roughly browsing the document, I think it can be solved using literals
{{ "{{" }}
Looking forward to better solutions