34 lines
773 B
Markdown
34 lines
773 B
Markdown
## svelte app (Modified)
|
|
|
|
This is a project template for [Svelte](https://svelte.technology) apps. Original url at https://github.com/sveltejs/template.
|
|
|
|
To create a new project based on this template using [degit](https://github.com/Rich-Harris/degit):
|
|
|
|
```bash
|
|
npm install -g degit # you only need to do this once
|
|
|
|
degit sveltejs/template svelte-app
|
|
cd svelte-app
|
|
```
|
|
|
|
*Note that you will need to have [Node.js](https://nodejs.org) installed.*
|
|
|
|
|
|
## Get started
|
|
|
|
Install the dependencies...
|
|
|
|
```bash
|
|
cd svelte-app
|
|
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.
|
|
|