mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 10:28:54 -07:00
3512140148
The bars are 2 pixels tall, which can be tricky to click. Additional padding increases the height to 16 pixels, without changing how it looks, and makes for much easier clicking. In addition, remove the onDestroy lifecycle for the tween as it's not necessary. It was a relic from using animation frames. |
||
---|---|---|
.. | ||
__mocks__ | ||
src | ||
static | ||
.dockerignore | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
babel.config.cjs | ||
Dockerfile | ||
entrypoint.sh | ||
how-to-scroll-like-google.md | ||
jest.config.mjs | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
postcss.config.cjs | ||
README.md | ||
svelte.config.js | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.js |
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.