Created
September 26, 2016 12:21
-
-
Save josephjaniga/078e45c62abcb1ac3ec8a2267313bca6 to your computer and use it in GitHub Desktop.
Revisions
-
josephjaniga created this gist
Sep 26, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ window.vueData = { primary: { show: true, message: '', classes: [], language: 'en' } }; this.vue = new Vue({ el: '#app', data: window.vueData }); This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ <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>