An open API service indexing awesome lists of open source software.

https://github.com/mr-addict/svelte-helloworld

Svelte Hello World
https://github.com/mr-addict/svelte-helloworld

sveltekit tailwindcss

Last synced: 16 days ago
JSON representation

Svelte Hello World

Awesome Lists containing this project

README

          

# Svelte Hello World

## 1. Tailwindcss

| Key | Value |
| :--------- | :------- |
| background | black |
| light text | gray-300 |
| dark text | gray-500 |
| theme | cyan-600 |

## 2. Memo

Memo for the next time I create a new project.

- Install tailwindcss
- Use `100dvh` instead of `100vh`
- Add `$component` and `$data` aliases
- Add `--host` to `package.json` script for global serve
- Add `description` meta, `robots.txt`, and `favicon.ico`
- To print **•** symbol, you need to hold **Alt**, then pres 0, 1, 4, 9 sequently.

## 3. Deploy

Build project:

```bash
npm run build
```

Preview project:

```bash
npm run preview
```