8000 GitHub - kalrase/wasmer_static_server: a wasmer static server deploy by docker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kalrase/wasmer_static_server

Repository files navigation

This is a Svelte project bootstrapped with npm create svelte@latest my-app.

Getting Started

this is a wasmer static server with svelte deploy by docker

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

You can also run the Svelte starter template easily using Wasmer (check out the install guide):

npm run build
wasmer run . --net -- --port 5173

Open http://localhost:5173 with your browser to see the result.

Deploy on Wasmer Edge

The easiest way to deploy your Svelte app is to use the Wasmer Edge.

Live example: https://wasmer-edge-svelte-sample.wasmer.app/

First, you'll need to run npm run build, and then, to deploy to Wasmer Edge:

wasmer deploy

Deploy on docker

docker build -t svelte-app:0.0.1 .

docker run -p 5173:5173 svelte-app:0.0.1

About

a wasmer static server deploy by docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Uh oh!

There was an error while loading. Please reload this page.

0