Demonstration of:
GitHub links:
Verify we have Node and NPM:
node --version
npm --version
Clone:
git clone https://github.com/sveltejs/template demo
cd demo
Install:
```sh
npm install
Run using Rollup:
npm run dev
Browse localhost:5000. You should see your app running.
You can edit any component file in src
, save it, then reload the browser page to see your changes.
To deploy to the web, there are many choices.
This demo shows how to deploy to the web by using a tool named "now".
Install now
if you haven't already:
npm install -g now
Then, from within your project folder:
now
As an alternative, use the Now desktop client and simply drag the unzipped project folder to the taskbar icon.