2025-06-24 22:53:04 +01:00
2025-06-24 22:53:04 +01:00
2025-06-24 22:53:04 +01:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

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

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:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Main-menu profession reveal

Hovering or keyboard-focusing “Programmer” crossfades only that word to red “VIBECODER” over 1.4 seconds, preserving its font and layout space. Holding for 2.8 seconds cuts the rest of the page away. Leaving the isolated word fades it out first, then fades the page back with “Programmer” restored. Leaving before isolation only reverses the word crossfade. Reduced motion skips the fades.

Background fallback

Pages and navigation are server-rendered HTML. Without JavaScript, the background is hidden and posts use the full reading width without the scene rail or entry animation.

If WebGL2 is unavailable or fails during initialization, Canvas 2D renders a fixed preset at the current viewport size and pixel density. It preserves model proportions at custom resolutions, with no animation frames, physics stepping, or dragging. Layout, content-boundary, and theme changes redraw the still image as needed.

S
Description
UUUUUUUUUH my website
https://midou.dev
Readme
7.2 MiB
0 Stars 1 Watchers 0 Forks
Languages
Svelte 74%
TypeScript 10.9%
CSS 9.4%
JavaScript 4.3%
HTML 0.9%
Other 0.5%