1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/web
martin 84e60ea155
feat(web): auto switch theme (#6176)
* move from app.html to user-page-layout.svelte

* fix: use layout.svelte

* simplify

* fix: map style don't change

* fix: auto switch theme map

* use constants

* simplify

* rename

* rename settign

* fix: remove

* pr feedback

* fix: tests

* fix: migration

* fix: migration

* pr feedback

* simplify

* simplify

* pr feedback

* fix: merge

* chore: set insetad of toggle on click

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-01-07 00:15:25 +00:00
..
__mocks__ chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
src feat(web): auto switch theme (#6176) 2024-01-07 00:15:25 +00: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 feat(web): More localisation (#1441) 2023-01-27 23:57:25 -06: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 fix(deps): update web (#6152) 2024-01-03 23:02:24 +00:00
package.json fix: use loading spinner for library spinner (#6116) 2024-01-01 22:10:48 -05: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 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.