mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +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>
|