The blog software for Shadow Hosting.
Find a file
2024-04-23 15:40:26 -04:00
.idea Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04:00
cmd Added new component make command, cleaned up cli code 2024-04-23 15:40:26 -04:00
public Started work on navbar 2024-04-23 15:14:26 -04:00
src Started work on navbar 2024-04-23 15:14:26 -04:00
utils Add preforking, middlewares, organize some code 2024-04-22 20:00:27 -04:00
.cobra.yaml Add base go backend 2024-04-21 14:42:24 -04:00
.config.example.toml Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04:00
.gitignore Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04:00
bun.lockb Started work on navbar 2024-04-23 15:14:26 -04:00
go.mod Added new component make command, cleaned up cli code 2024-04-23 15:40:26 -04:00
go.sum Started work on navbar 2024-04-23 15:14:26 -04:00
LICENSE Add base go backend 2024-04-21 14:42:24 -04:00
main.go Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04:00
package.json Started work on navbar 2024-04-23 15:14:26 -04:00
postcss.config.js Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04:00
README.md Initial commit 2024-04-20 23:01:09 -04:00
renovate.json Add renovate.json 2024-04-21 15:22:28 -04:00
tailwind.config.ts Started work on navbar 2024-04-23 15:14:26 -04:00
tsconfig.json Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04:00
vite.config.ts Add base vite stuff, replace svelte with gohtml 2024-04-22 18:59:55 -04: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.