Skip to content

Commit 5068244

Browse files
authored
(docs) note on node syntax
#484
1 parent 0249661 commit 5068244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/preprocessors/other-css-preprocessors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ We assume you already have setup TailwindCSS within your Svelte project. If not,
99
To use TailwindCSS with the VSCode extension:
1010

1111
1. Install the [Tailwind CSS VSCode extension](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss)
12-
2. Either add `lang="postcss"` to each of your `<style>` tags where you plan on using the Tailwind CSS directives such as `@apply`, or disable CSS diagnostics completely by adding `"svelte.plugin.css.diagnostics.enable": false` within your settings. If you still want diagnostics, install the [Stylelint VSCode extension](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) and [configure it accordingly](https://andrich.me/vscode-stylelint-tailwind-css-are-love)
12+
2. Either add `lang="postcss"` to each of your `<style>` tags where you plan on using the Tailwind CSS directives such as `@apply`, or disable CSS diagnostics completely by adding `"svelte.plugin.css.diagnostics.enable": false` within your settings. If you still want diagnostics, install the [Stylelint VSCode extension](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) and [configure it accordingly](https://andrich.me/vscode-stylelint-tailwind-css-are-love). Note that within your config files you can only use node-syntax, things like `import ...` or `export const ...` are not allowed.
1313

1414
## SASS
1515

0 commit comments

Comments
 (0)