We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7551c92 commit 4d9f059Copy full SHA for 4d9f059
frontend/encore/vuejs.rst
@@ -155,6 +155,14 @@ you can import them with ``require()`` function:
155
}
156
157
158
+Embeded with Twig
159
+-----------------
160
+
161
+You can of course, inside a Twig template rendered
162
+from a controller, instantiate a VueJS app.
163
+Tip: you may in this case leverage the delimiters options
164
+https://vuejs.org/v2/api/#delimiters to not overlap with Twig ones.
165
166
.. _`Vue.js`: https://vuejs.org/
167
.. _`vue-loader options`: https://vue-loader.vuejs.org/options.html
168
.. _`Encore's index.js file`: https://github.com/symfony/webpack-encore/blob/master/index.js
0 commit comments