joelparkerhenderson / demo-svelte-hello-world

Demo Svelte JavaScript framework "hello world" app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Demo Svelte JavaScript framework "hello world" app


Languages

Language:JavaScript 49.2%Language:CSS 29.6%Language:HTML 21.2%