1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00
immich/web
Jason Rasmussen 6e066aa220
chore: svelte-kit-2 (#6103)
* chore: upgrade svelte

* chore: type imports

* chore: types
2024-01-20 12:47:41 -06:00
..
__mocks__ chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
src chore: svelte-kit-2 (#6103) 2024-01-20 12:47:41 -06: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 Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.eslintrc.cjs chore(web): curly braces (#5362) 2023-11-28 14:16:27 -06:00
.gitignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.npmrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.prettierignore refactor: open api (#6334) 2024-01-12 07:36:27 -05:00
.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 chore: svelte-kit-2 (#6103) 2024-01-20 12:47:41 -06:00
package.json chore: svelte-kit-2 (#6103) 2024-01-20 12:47:41 -06:00
postcss.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
README.md Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
svelte.config.js chore: svelte-kit-2 (#6103) 2024-01-20 12:47:41 -06:00
tailwind.config.cjs feat(web): new fonts (#5165) 2023-11-19 21:06:16 -06:00
tsconfig.json chore: svelte-kit-2 (#6103) 2024-01-20 12:47:41 -06: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.