1
0
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
No description provided
Readme 63 MiB
Languages
Go 73.2%
Vue 15%
TypeScript 10.1%
SCSS 0.9%
Smarty 0.4%
Other 0.3%