0👍
use like this:
<script>
window.data = <?=$data?>
</script>
in vue:
var data = window.data
- [Vuejs]-SPA architecture to enable features or component based on account permissions?
- [Vuejs]-How to disable vuejs transitions
Source:stackexchange.com