https://github.com/womb0comb0/advent-of-svelte
https://github.com/womb0comb0/advent-of-svelte
svelte typescript vite
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/womb0comb0/advent-of-svelte
- Owner: WomB0ComB0
- Created: 2024-12-06T22:19:16.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-12-26T08:47:09.000Z (5 months ago)
- Last Synced: 2025-02-02T14:12:04.814Z (4 months ago)
- Topics: svelte, typescript, vite
- Language: Svelte
- Homepage:
- Size: 134 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Svelte
## Running the Project
To run the Advent of Svelte project, follow these steps:
### 1. Install Dependencies
Ensure all necessary dependencies are installed by running:
```bash
bun install
```### 2. Build the Project
Before running or previewing, build the project using:
```bash
bun run start
```### 3. Preview a Specific Day's Project
To preview a specific day's project, use the `run.ts` script with the `preview` option. Replace `` with the desired day number:
```bash
bun run run preview
```This command will build and then preview the project for the specified day.
### 4. Development Mode
To run the project in development mode, use the `dev` option:
```bash
bun run run dev
```This will start the development server for the specified day's project, allowing you to make and see changes in real-time.
### Notes
- Ensure that the `dist` directory is generated by the build process before attempting to preview.
- The `run.ts` script handles both building and previewing, so ensure the correct options are used.