An open API service indexing awesome lists of open source software.

https://github.com/jasonsturges/babylonjs-sveltekit

3D with SvelteKit and Babylon.js
https://github.com/jasonsturges/babylonjs-sveltekit

3d babylonjs boilerplate svelte sveltejs sveltekit template webgl

Last synced: 9 months ago
JSON representation

3D with SvelteKit and Babylon.js

Awesome Lists containing this project

README

          

# 3D with Svelte and Babylon.js

Project template incorporates [Svelte](https://svelte.dev) with [Babylon.js](https://www.babylonjs.com/).

![screencapture](https://user-images.githubusercontent.com/1213591/188288763-691a86e4-b65d-4dc9-82b0-d9dc16311424.gif)

This project includes:
- [Svelte](https://svelte.dev)
- [SvelteKit](https://kit.svelte.dev/)
- [Babylon.js](https://www.babylonjs.com/)
- [Vite](https://vitejs.dev/)

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

To create a production version of your app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.