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
- Host: GitHub
- URL: https://github.com/one-aalam/svelte-todo
- Owner: one-aalam
- Created: 2019-09-08T13:31:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T10:46:25.000Z (over 2 years ago)
- Last Synced: 2025-02-12T22:32:59.612Z (4 months ago)
- Topics: netlify, svelte-components, svelte-v3, sveltejs, typescript
- Language: CSS
- Size: 521 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
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