Conflict on Template of Twig and Vue.js

后端 未结 10 2269
一向
一向 2020-12-02 16:27

I\'m doing a program using Slim 2 that uses Twig as my templating engine. so It uses the syntax {{ foo }} in php file. On the other hand, I\'m using vue.js, it

10条回答
  •  臣服心动
    2020-12-02 17:14

    I'm using VueJs v2, with the syntax bellow:

    
    

    Where book.cover is one of the myVueInstance.$data.book fields.

    Here's the docs

提交回复
热议问题