Skip to content

Commit 29a5bec

Browse files
committed
docs: ✏️ Update readme
1 parent f95068d commit 29a5bec

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [Template tag](#template-tag)
1313
- [External files](#external-files)
1414
- [Global style](#global-style)
15+
- [Global rule](#global-rule)
1516
- [Preprocessors](#preprocessors)
1617
- [Modern Javascript syntax](#modern-javascript-syntax)
1718
- [Replace values](#replace-values)
@@ -28,6 +29,7 @@
2829
- [`scss`/`sass`](#scsssass)
2930
- [`typescript`](#typescript)
3031
- [`pug`](#pug)
32+
- [`coffeescript`](#coffeescript)
3133
- [FAQ](#faq)
3234
- [My VS Code is displaying a lot of errors on my templates when I try to use `x`...](#my-vs-code-is-displaying-a-lot-of-errors-on-my-templates-when-i-try-to-use-x)
3335
- [My `typescript` compilation is sloooooooow](#my-typescript-compilation-is-sloooooooow)
@@ -101,13 +103,15 @@ Use a `:global` rule to only expose parts of the stylesheet:
101103

102104
```html
103105
<style lang="scss">
104-
.scoped-style {}
106+
.scoped-style {
107+
}
105108
106109
:global {
107110
@import 'global-stylesheet.scss';
108111
109112
.global-style {
110-
.global-child-style {}
113+
.global-child-style {
114+
}
111115
}
112116
}
113117
</style>
@@ -224,7 +228,7 @@ Which allows to write your component like:
224228
225229
```html
226230
@if(process.env.NODE_ENV !== 'development')
227-
<h1>Production environment!</h1>
231+
<h1>Production environment!</h1>
228232
@endif
229233
```
230234

0 commit comments

Comments
 (0)