Jef Oliver e92559dc00 fix(base): Use Build Time Base Path
* If a base path is provided at build time, use it.
  * Base path can be set with `VIKUNJA_FRONTEND_BASE` at
    build time
    * `VIKUNJA_FRONTEND_BASE` sets `import.meta.env.BASE_URL` after Vite resolves it.
    * Usages of `import.meta.env.BASE_URL` are statically replaced
      at build time.
    * If base path is not provided, `import.meta.env.BASE_URL`
      defaults to '/'.
    * Documentation:
      https://vitejs.dev/guide/env-and-mode.html

* Fixes:
  * Manifest not loading because of incorrect path.
  * Service Worker not loading because path is incorrect in
    manifest.
  * Service Worker crashing because import of workbox is from
    wrong path.
  * Service Worker not loading a task because path is incorrect
    in event listener.
  * Incorrect URLs being set on window because base path is
    incorrect.
    * ex: `/login` vs `/base/login`

Signed-off-by: Jef Oliver <jef@eljef.me>
2023-02-03 09:21:06 +01:00
2022-07-21 16:49:21 +02:00
2022-12-13 19:00:50 +00:00
2022-09-21 17:29:36 +02:00
2023-01-29 14:47:22 +00:00
2023-01-29 14:47:22 +00:00
2023-02-03 09:21:06 +01:00
2022-10-03 16:10:53 +02:00
2023-01-05 23:12:58 +01:00
2022-09-21 17:29:36 +02:00
2022-04-23 15:55:02 +00:00
2022-08-03 20:10:39 +02:00
2022-07-04 21:50:48 +00:00
2023-01-05 23:12:58 +01:00
2022-10-03 16:10:53 +02:00
2022-10-28 12:21:18 +02:00
2023-01-05 23:12:58 +01:00
2020-12-23 16:47:05 +01:00
2022-09-21 17:29:36 +02:00
2023-01-29 14:47:22 +00:00
2023-01-03 16:30:46 +01:00
2022-07-04 21:50:48 +00:00

Web frontend for Vikunja

The todo app to organize your life.

Build Status License: AGPL v3 Download Translation

This is the web frontend for Vikunja, written in Vue.js.

Take a look at our roadmap (hosted on Vikunja!) for a list of things we're currently working on!

Security Reports

If you find any security-related issues you don't want to disclose publicly, please use the contact information on our website.

Docker

There is a docker image available with support for http/2 and aggressive caching enabled. In order to build it from sources run the command below. (Docker >= v19.03)

export DOCKER_BUILDKIT=1
docker build -t vikunja/frontend .

Refer to Refer to multi-platform documentation in order to build for the different platform.

Project setup

pnpm install

Compiles and hot-reloads for development

pnpm run serve

Compiles and minifies for production

pnpm run build

Lints and fixes files

pnpm run lint

Sponsors

Relm

Description
Frontend Roadmap here:
Readme 24 MiB
Languages
Vue 55.9%
TypeScript 38.6%
SCSS 4%
Shell 0.9%
Dockerfile 0.2%
Other 0.4%