1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/web
2024-01-01 22:10:48 -05:00
..
__mocks__
src fix: use loading spinner for library spinner (#6116) 2024-01-01 22:10:48 -05:00
static fix(web): use env for web folder path (#5753) 2023-12-16 11:15:30 -06:00
.dockerignore feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
.eslintignore
.eslintrc.cjs chore(web): curly braces (#5362) 2023-11-28 14:16:27 -06:00
.gitignore
.npmrc
.prettierignore
.prettierrc fix(deps): prettier 3 (#5336) 2023-11-27 11:42:04 -05:00
Dockerfile chore(web): run as root in dev (#5365) 2023-11-28 17:52:37 -05:00
how-to-scroll-like-google.md docs: fix typos (#4713) 2023-10-30 09:17:10 -05:00
package-lock.json fix: use loading spinner for library spinner (#6116) 2024-01-01 22:10:48 -05:00
package.json fix: use loading spinner for library spinner (#6116) 2024-01-01 22:10:48 -05:00
postcss.config.cjs
README.md
svelte.config.js feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
tailwind.config.cjs feat(web): new fonts (#5165) 2023-11-19 21:06:16 -06:00
tsconfig.json chore(web): migrate to vitest (#5754) 2024-01-01 12:36:49 -05:00
vite.config.js chore(web): migrate to vitest (#5754) 2024-01-01 12:36:49 -05: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 init svelte

# create a new project in my-app
npm init svelte 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.