SvelteBaseApp

Sveltebaseapp

A base svelte app used to create new apps #svelte #sveltejs

svelte base PWA app

npm install
npm run dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

Deploying to the web

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.

With surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public

creation steps

Started from
https://svelte.dev/examples#hello-world

05/21/2019 8:17 AM
Added lighthouse suggestions:
01 - html tag: lang="en-US"
02 - meta description tag

05/21/2019 11:54 AM
Made it a PWA
PWA Checklist:
https://developers.google.com/web/progressive-web-apps/checklist
How To Video:
https://www.youtube.com/watch?v=dXuvT4oollQ

Running version here
https://sveltebasepwa.glitch.me/

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes