1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00
immich/web
Jason Rasmussen adae5dd758
feat(web)!: SPA (#5069)
* feat(web): SPA

* chore: remove unnecessary prune

* feat(web): merge with immich-server

* Correct method name

* fix: bugs, docs, workflows, etc.

* chore: keep dockerignore for dev

* chore: remove license

* fix: expose 2283

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-11-17 22:13:36 -06:00
..
__mocks__ chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
src feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
static
.dockerignore feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
.eslintignore
.eslintrc.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
.gitignore
.npmrc
.prettierignore
.prettierrc chore(web): remove flowbite (#4178) 2023-09-23 11:50:21 +07:00
babel.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
Dockerfile feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
how-to-scroll-like-google.md docs: fix typos (#4713) 2023-10-30 09:17:10 -05:00
jest.config.mjs refactor(web): material icons (#4636) 2023-10-25 13:48:25 +00:00
package-lock.json feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
package.json feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
postcss.config.cjs chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
README.md
svelte.config.js feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06:00
tailwind.config.cjs feat(web): use css vraiables (#5022) 2023-11-13 17:16:26 -05:00
tsconfig.json
vite.config.js feat(web)!: SPA (#5069) 2023-11-17 22:13:36 -06: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.