In a Laravel blade template I can access some data using @{{list.length}}.
<template id="events-template">
@{{list.length}}
</template>
How do I use this within a javascript function within the same view template?
Vue is defined in app.js as
var vm = new Vue({
el: 'body',
});
app.js is called before the script in my view template