Last active
May 9, 2019 05:50
-
-
Save anthonycoffey/0b6b43642243d29a7c6bc75cbb80c121 to your computer and use it in GitHub Desktop.
Language attribute set to SCSS in Vue component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
</div> | |
</template> | |
export default { | |
name: 'sass loading component', | |
} | |
</script> | |
<style lang="scss" scoped> | |
// we can write sass now, woohoo! | |
.error-msg { | |
border: 1px solid; | |
padding: 1rem; | |
span { | |
font-size:1rem; | |
color: red; | |
} | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment