Skip to content

About

An opinionated blank Astro template with built-in support for Tailwind CSS, prettier, view transitions, and aliases.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Astro Template: Space

Astro Space is an opinionated Astro starter template with built-in support for Tailwind CSS, Prettier, view transitions, and aliases.

Using create astro@latest provides everything you need to create a basic Astro application. However, it is missing a few useful items that you might find yourself manually adding to every new Astro project. The Space template was created to automatically include these items. This provides a great starting point for a new Astro project with Tailwind CSS.

The template includes:

  • An initial Astro project structure
  • Astro View Transitions
  • Astro Aliases
  • Tailwind CSS
  • Prettier
  • Default .vscode files to properly handle Tailwind CSS, recommended extensions, and default Prettier formatters
  • A default MainLayout.astro layout file
  • A default global.css file
  • A blank README.md file
  • A blank index.astro page
  • The dev script set to "astro dev --open"

Deployment Methods

npm

npm create astro@latest -q -- --template smart-ace-designs/astro-space project-name

bun

bun create astro@latest -- --template smart-ace-designs/astro-space project-name

pnpm

pnpm create astro@latest --template smart-ace-designs/astro-space project-name

yarn

yarn create astro@latest --template smart-ace-designs/astro-space project-name

Project Structure

After deploying the Astro Space template you will see the following files and directories in your project root:

/
├── .vscode/
│   ├── extensions.json
│   ├── launch.json
│   └── settings.json
├── public/
│   ├── favicon.ico
│   └── favicon.svg
├── src/
│   ├── layouts/
│   │   └── MainLayout.astro
│   ├── pages/
│   │   └── index.astro
│   └── styles/
│       └── global.css
├── .gitignore
├── .prettierignore
├── AGENTS.md
├── astro.config.mjs
├── package.json
├── prettier.config.ts
├── README.md
└── tsconfig.json

About

An opinionated blank Astro template with built-in support for Tailwind CSS, prettier, view transitions, and aliases.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages