summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss/src/pages/index.astro
blob: 6c0408c8d6ad22236ff3baf8dedaf43a3cc6c0a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
// Component Imports
import Button from '../components/Button.astro';

// Full Astro Component Syntax:
// https://docs.astro.build/core-concepts/astro-components/
---
<html lang="en">
  <head>
    <meta charset="UTF-8" />

        <link rel="icon" type="image/x-icon" href="/favicon.ico" />

    <title>Astro + TailwindCSS</title>
    <link rel="stylesheet" type="text/css" href="/global.css">
  </head>

  <body>
    <Button>I’m a Tailwind Button!</Button>
  </body>
</html>