startpage

Startpage

My custom start page.

Start Page

The page uses the "bang" feature from DuckDuckGo to allow for searching on a variety of sites.

Screenshot

Screenshot

Develop

Install the dependencies:

cd svelte-app
npm install

start Rollup:

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.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

Production

To create an optimised version of the app:

npm run build

You can use npm run start to run a production server with sirv. On my computer, I use miniserve to serve the files efficiently. Also, Rust.

Top categories

Loading Svelte Themes