astro/examples/with-tailwindcss
Kaffee☕ 57b0c170e8
change the typescript moduleResolution of all examples to "node" (#1108)
* Fixes many Errors related to typescript

Fix Svelte Component Errors importing Svelte standard functions using typescript see https://github.com/snowpackjs/astro/issues/403.
Also fixes "ReferenceError: exports is not defined" see https://github.com/snowpackjs/astro/issues/969.

* change typescript default moduleresolution in examples see #403
2021-08-13 16:31:44 -07:00
..
public Restructure examples (#568) 2021-06-28 10:46:10 -05:00
src Update docs in compiler messages (#710) 2021-07-16 07:01:31 -04:00
.gitignore Restructure examples (#568) 2021-06-28 10:46:10 -05:00
.npmrc Restructure examples (#568) 2021-06-28 10:46:10 -05:00
astro.config.mjs [ci] yarn format 2021-07-20 04:07:49 +00:00
package.json Version Packages (next) (#1092) 2021-08-12 01:39:34 -07:00
README.md fix styling URL link 2021-07-30 22:43:03 -07:00
tailwind.config.js Restructure examples (#568) 2021-06-28 10:46:10 -05:00
tsconfig.json change the typescript moduleResolution of all examples to "node" (#1108) 2021-08-13 16:31:44 -07:00

Astro with Tailwind

npm init astro -- --template with-tailwindcss

Astro comes with Tailwind support out of the box. This example showcases how to style your Astro project with Tailwind.

For complete setup instructions, please see our Styling Guide.