.. include:: ../Includes.txt .. _how-to: =========== How To =========== .. tip:: View the `source code `__ of `webfonts `__ extension which makes use of Vue.js .. tip:: When backend debugging :php:`$GLOBALS['TYPO3_CONF_VARS']['BE']['debug']` is enabled Vue.js will log debug information to JavaScript console. Controller -------------- Your controller must extend :file:`\\VUEJS\\Vuejs\\Controller\\VueBackendController` .. code-block:: php class YourController extends \VUEJS\Vuejs\Controller\VueBackendController { } Use Vue.js as RequireJS module ----------------------- .. important:: Learn how to use `RequireJS `__ modules in TYPO3 backend first. Setup a HTML element where the Vue app should get attached to within your Templates. .. code-block:: php
...
...