57 lines
1.1 KiB
Vue
57 lines
1.1 KiB
Vue
<template>
|
|
|
|
<h2>{{ msg }}</h2>
|
|
|
|
<h4 class="mt-3">Grid</h4>
|
|
|
|
<div class="row mt-3">
|
|
<div class="col">
|
|
One
|
|
</div>
|
|
<div class="col">
|
|
Two
|
|
</div>
|
|
<div class="col">
|
|
Three
|
|
</div>
|
|
</div>
|
|
|
|
<h4 class="mt-3">Buttons</h4>
|
|
|
|
<button type="button" class="btn btn-primary">Primary</button>
|
|
<button type="button" class="btn btn-secondary">Secondary</button>
|
|
<button type="button" class="btn btn-success">Success</button>
|
|
<button type="button" class="btn btn-danger">Danger</button>
|
|
<button type="button" class="btn btn-warning">Warning</button>
|
|
<button type="button" class="btn btn-info">Info</button>
|
|
<button type="button" class="btn btn-light">Light</button>
|
|
<button type="button" class="btn btn-dark">Dark</button>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'HelloWorld',
|
|
props: {
|
|
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>
|