mirror of
https://github.com/thomaspcole/SvelteQuickstart.git
synced 2024-09-19 13:15:45 -04:00
35 lines
692 B
Markdown
35 lines
692 B
Markdown
# SvelteQuickstart
|
|
A quickstart for building material web apps with Svelte.
|
|
|
|
## Getting Started
|
|
|
|
*Before you begin make sure [Node.js](https://nodejs.org) is installed.*
|
|
|
|
1. Setup using [degit](https://github.com/Rich-Harris/degit):
|
|
|
|
```bash
|
|
npx degit thomaspcole/sveltequickstart#main MyApp
|
|
cd MyApp/
|
|
```
|
|
|
|
2. Clone this project and change the git origin.
|
|
|
|
```bash
|
|
git clone https://github.com/thomaspcole/SvelteQuickstart.git
|
|
cd SvelteQuickstart
|
|
git remote set-url origin https://github.com/YOURUSERNAME/YOURSVELTEAPP.git
|
|
```
|
|
|
|
3. Download this repository and copy+paste. :)
|
|
|
|
## Setup
|
|
```bash
|
|
#Install node modules
|
|
npm install
|
|
|
|
#Run Svelte app
|
|
npm run dev
|
|
|
|
#Build Svelte app
|
|
npm run build
|
|
``` |