Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
window.vueData = {
primary: {
show: true,
message: '',
classes: [],
language: 'en'
}
};
this.vue = new Vue({
el: '#app',
data: window.vueData
});
<div class="container" id="app">
<div class="row primary">
<div class="col-xs-12">
<h1 v-bind:class="primary.classes.concat(['title'])"
lang="{{ primary.language || 'en' }}"
v-show="primary.show">
{{ primary.message }}
</h1>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.