https://github.com/jasonsturges/threejs-sveltekit
3D with SvelteKit and Three.js
https://github.com/jasonsturges/threejs-sveltekit
3d boilerplate svelte sveltejs sveltekit template threejs webgl
Last synced: 28 days ago
JSON representation
3D with SvelteKit and Three.js
- Host: GitHub
- URL: https://github.com/jasonsturges/threejs-sveltekit
- Owner: jasonsturges
- Created: 2020-12-11T20:49:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T05:07:18.000Z (over 1 year ago)
- Last Synced: 2025-04-15T15:04:47.577Z (28 days ago)
- Topics: 3d, boilerplate, svelte, sveltejs, sveltekit, template, threejs, webgl
- Language: TypeScript
- Homepage: https://jasonsturges.github.io/threejs-sveltekit
- Size: 245 KB
- Stars: 61
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 3D with Svelte and Three.js
Project template incorporating [Svelte](https://svelte.dev) with [Three.js](https://threejs.org/).

This project includes:
- [Svelte](https://svelte.dev)
- [SvelteKit](https://kit.svelte.dev/)
- [Three.js](https://threejs.org/)
- [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.