s6e100 scoped styles

This commit is contained in:
Tyrel Souza 2018-04-17 00:10:17 -04:00
parent d1c5483cf7
commit f19dc139aa
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0
3 changed files with 16 additions and 8 deletions

View File

@ -5,4 +5,11 @@
</template> </template>
<script> <script>
</script> </script>
<style scoped>
div {
border: 1px solid red;
}
</style>

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="col-xs-12 col-sm-6"> <div class="col-xs-12 col-sm-6">
<ul class="list-group"> <ul class="list-group">
<li class="list-group-item" v-for="index in 5"> <li class="list-group-item" v-for="index in 10" :key="index">
Server #{{ index }} Server #{{ index }}
</li> </li>
</ul> </ul>
@ -12,3 +12,10 @@
export default { export default {
} }
</script> </script>
<style scoped>
div {
border: 1px solid blue;
}
</style>

View File

@ -1,14 +1,8 @@
import Vue from 'vue' import Vue from 'vue'
import App from './App.vue' import App from './App.vue'
new Vue({ new Vue({
el: '#app', el: '#app',
render: h => h(App), render: h => h(App),
}) });