Check out my awesome VUE component below:
<template>
<div>
<div class="bottom-footer">
{{msg}}
</div>
</div>
</template>
<script>
export default {
name: 'LayoutFooter',
data () {
return {
msg: 'my test'
}
},
mounted () {
}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.bottom-footer {
height: 200px;
background-color: #A7BFE8;
}
</scoped>
For some reason, VUE seems to be ignoring my scoped CSS. The styles are not being applied when the page is rendered, and there aren't any console errors showing up. I even tried removing the scoped attribute with no luck. Any suggestions on why VUE might be behaving this way?