-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f3205b4
Showing
10 changed files
with
2,329 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# svelte app | ||
|
||
This project was created by the [Svelte REPL](https://svelte.technology/repl). | ||
|
||
|
||
## Get started | ||
|
||
You will need to have [Node.js](https://nodejs.org) installed. | ||
|
||
Install the dependencies... | ||
|
||
```bash | ||
cd /path/to/this/directory | ||
npm install | ||
``` | ||
|
||
...then start Rollup: | ||
|
||
```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 | ||
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 | ||
``` |
Oops, something went wrong.