Created
January 25, 2017 19:37
-
-
Save janit/fb63b1c29703f47b40c64fd7de0160d3 to your computer and use it in GitHub Desktop.
base.html.twig from https://www.symfony.fi/entry/sharing-state-in-a-symfony-hybrid-app-with-twig-react-etc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var initialAppState = {{ appstate_serialized|raw }}; | |
</script> | |
<script src="{{ asset('bundles/app/js/vue/vue.js') }}"></script> | |
<script src="{{ asset('bundles/app/js/vue/app.js') }}"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment