Make scss scoped in vue components

This commit is contained in:
Anton Vakhrushev 2018-06-22 23:01:17 +03:00
parent 9227d18970
commit 5fab1b4f89
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
@import '../components/button'; @import '../components/button';
.app { .app {
text-align: center; text-align: center;

View File

@ -79,7 +79,7 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
@import '../components/button'; @import '../components/button';
.app { .app {