https://github.com/atinux/alpine-demo2
https://github.com/atinux/alpine-demo2
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/atinux/alpine-demo2
- Owner: atinux
- Created: 2023-02-07T16:34:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T16:36:14.000Z (almost 3 years ago)
- Last Synced: 2025-02-14T09:43:05.830Z (11 months ago)
- Language: TypeScript
- Size: 927 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alpine Starter
Starter template for [Alpine](https://alpine.nuxt.space).
## Clone
Clone the repository (using `nuxi`):
```bash
npx nuxi init -t themes/alpine
```
## Setup
Install dependencies:
```bash
pnpm install
```
## Development
```bash
pnpm dev
```
## Edge Side Rendering
Can be deployed to Vercel Functions, Netlify Functions, AWS, and most Node-compatible environments.
Look at all the available presets [here](https://v3.nuxtjs.org/guide/deploy/presets).
```bash
pnpm build
```
## Static Generation
Use the `generate` command to build your application.
The HTML files will be generated in the .output/public directory and ready to be deployed to any static compatible hosting.
```bash
pnpm generate
```
## Preview build
You might want to preview the result of your build locally, to do so, run the following command:
```bash
pnpm preview
```
---
For a detailed explanation of how things work, check out [Alpine](https://alpine.nuxt.space).