mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
19 lines
207 B
Vue
19 lines
207 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<h1>H1 is rebeccapurple</h1>
|
||
|
{{ $style }}
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style>
|
||
|
h1 {
|
||
|
color: rebeccapurple;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<style module>
|
||
|
:local(.foo) {
|
||
|
color: blue !important;
|
||
|
}
|
||
|
</style>
|