Skip to content

Instantly share code, notes, and snippets.

@anthonycoffey
Last active May 9, 2019 05:50
Show Gist options
  • Save anthonycoffey/0b6b43642243d29a7c6bc75cbb80c121 to your computer and use it in GitHub Desktop.
Save anthonycoffey/0b6b43642243d29a7c6bc75cbb80c121 to your computer and use it in GitHub Desktop.
Language attribute set to SCSS in Vue component
<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