Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use set data in Vue component
  • Loading branch information
kajan committed Feb 18, 2021
1 parent 4c21673 commit 95addb0
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -3,6 +3,9 @@
<b-container class="test-global-css test-scoped-css">
Hello {{ name }} from Vue!
<img src="../../../assets/images/kajan.png">
<pre class="text-white">
{{ JSON.stringify(viewModel, null, 2) }}
</pre>
</b-container>
</default-layout>
</template>
Expand All @@ -13,6 +16,7 @@ export default {
data() {
return {
name: "world",
viewModel: viewModel,
}
},
}
Expand Down

0 comments on commit 95addb0

Please sign in to comment.