Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ratulmaharaj/astro-tauri-tailwind
An astro tauri tailwind starter
https://github.com/ratulmaharaj/astro-tauri-tailwind
astro tailwindcss tauri tauri-starter
Last synced: about 3 hours ago
JSON representation
An astro tauri tailwind starter
- Host: GitHub
- URL: https://github.com/ratulmaharaj/astro-tauri-tailwind
- Owner: RatulMaharaj
- Created: 2023-10-03T17:26:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-04T00:21:57.000Z (over 1 year ago)
- Last Synced: 2025-01-29T07:28:29.275Z (5 days ago)
- Topics: astro, tailwindcss, tauri, tauri-starter
- Language: Astro
- Homepage:
- Size: 877 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Astro + Tailwind Tauri Starter App
![Screenshot](/screenshot.png)
To get started, run:
```sh
git clone https://github.com/RatulMaharaj/astro-tauri-tailwind.git
```or click the green [Use this template](https://github.com/new?template_name=astro-tauri-tailwind&template_owner=RatulMaharaj) button above.
## 🚀 Project Structure
Inside of this project, you'll see the following folders and files:
```sh
/
├── .github/
│ └── workflows/
│ ├── build.yml # Test the build
│ └── publish.yml # Builds and creates a release
├── public/
│ └── favicon.svg
├── src/ # The astro frontend logic lives here
│ ├── components/
│ │ └── Card.astro
│ ├── layouts/
│ │ └── Layout.astro
│ │ pages/
│ │ └── index.astro
│ └── styles/
│ └── global.css
├── src-tauri/ # Tauri and backend logic lives here
│ ├── icons/
│ ├── src/
│ │ └── main.rs
│ ├── tauri.conf.json
│ ├── cargo.lock
│ ├── build.rs
│ └── cargo.toml
│
└── package.json
```Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the `public/` directory.
## 🧞 Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :----------------- | :------------------------------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm tauri dev` | Starts local dev server and compiles tauri dev app |
| `pnpm tauri build` | Build the app and outputs the binary to `./src-tauri/target/release` |## 👀 Want to learn more?
Feel free to check [the astro documentation](https://docs.astro.build) or [the tauri guides](https://tauri.app/v1/guides/).