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

https://github.com/one-aalam/svelte-todo

Svelte explorations
https://github.com/one-aalam/svelte-todo

netlify svelte-components svelte-v3 sveltejs typescript

Last synced: 3 months ago
JSON representation

Svelte explorations

Awesome Lists containing this project

README

        

# Svelte ToDo
A ToDo App + Svelte starter pack for Svelte 3/Rollup:

Available at: https://hopeful-hugle-81a197.netlify.com

### Get started

```
git clone https://github.com/one-aalam/svelte-todo.git
cd svelte-todo && rm -rf .git && npm install
```

...then start [Rollup](https://rollupjs.org):

```bash
npm run dev
```

Navigate to [localhost:5000](http://localhost:5000). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes.

## Deploying to the web

### With [now](https://zeit.co/now)

Install `now` if you haven't already:

```bash
npm install -g now
```

Then, from within your project folder:

```bash
cd public
now
```

As an alternative, use the [Now desktop client](https://zeit.co/download) and simply drag the unzipped project folder to the taskbar icon.

### With [surge](https://surge.sh/)

Install `surge` if you haven't already:

```bash
npm install -g surge
```

Then, from within your project folder:

```bash
npm run build
surge public
```

####Note
Please do a `yarn import` before running `yarn dev` if you prefer `yarn` as a package manager. Due to the missing
`audit` commands in yarn, `npm` is primarily used and `yarn.lock` might not be in sync