demo-svelte-hello-world Svelte Themes

Demo Svelte Hello World

Demo Svelte JavaScript framework "hello world" app

Demo svelte hello world

Demonstration of:

GitHub links:

Preflight

Verify we have Node and NPM:

node --version
npm --version

Start

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.

Deploy

To deploy to the web, there are many choices.

This demo shows how to deploy to the web by using a tool named "now".

With 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.

Top categories

Loading Svelte Themes