Skip to content

Instantly share code, notes, and snippets.

@RoySegall
Created December 6, 2019 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RoySegall/cceb514bbcccb6069f6aa00aac219e45 to your computer and use it in GitHub Desktop.
Save RoySegall/cceb514bbcccb6069f6aa00aac219e45 to your computer and use it in GitHub Desktop.
<template>
<div class="hello">
TBD
</div>
</template>
<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";
@Component
export default class Blogs extends Vue {
@Prop() private msg!: string;
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment