1
0
Fork
You've already forked mitra-web
0
Mitra Web UI
  • Vue 74.3%
  • TypeScript 22%
  • SCSS 2.5%
  • JavaScript 0.7%
  • Shell 0.3%
  • Other 0.2%
2025年12月22日 21:10:22 +00:00
icons Add manifest.json + multi-resolution general/maskable icons 2023年06月06日 14:00:26 +02:00
public Add empty assets/custom.css to prevent error 404 2025年03月07日 16:35:23 +00:00
scripts Update to Vite 5 2024年09月08日 19:50:25 +00:00
src Translated using Weblate (Russian) 2025年12月22日 21:05:10 +00:00
tests/unit Migrate to ESLint 9 2025年06月29日 18:38:18 +00:00
.browserslistrc
.editorconfig
.env Build project with Vite instead of Vue CLI 2023年05月10日 23:10:06 +00:00
.gitignore Add script for compressing static files 2023年08月18日 01:29:23 +00:00
.npmrc
.stylelintrc.json Update stylelint package 2025年02月25日 00:13:42 +00:00
CHANGELOG.md Release 4.15.0 2025年12月22日 21:10:22 +00:00
eslint.config.js Migrate to ESLint 9 2025年06月29日 18:38:18 +00:00
index.html Add robots=noindex meta tag to index.html 2025年08月04日 00:16:24 +00:00
LICENSE
package-lock.json Release 4.15.0 2025年12月22日 21:10:22 +00:00
package.json Release 4.15.0 2025年12月22日 21:10:22 +00:00
README.md Update readme 2025年06月22日 17:39:07 +00:00
screenshot.png Update screenshot 2024年11月24日 17:36:26 +00:00
tsconfig.json Remove unnecessary options from tsconfig.json 2025年01月16日 15:52:42 +00:00
vite.config.js Migrate to ESLint 9 2025年06月29日 18:38:18 +00:00

Mitra Web

Default frontend for Mitra.

  • Supports all Mitra features.
  • Translated into 7+ languages.
  • Includes a dark mode feature for visual accessibility.
screenshot

Custom themes

The appearance can be customized by replacing assets/custom.css as described in documentation.

Compatibility

The latest version of Mitra Web UI is compatible with the latest version of Mitra server and the version before it.

Compatibility with previous versions is not guaranteed.

Requirements

  • node 20+
  • npm 7+

Project setup

npm install --no-save
npx allow-scripts

Compile and minify for production

Set backend URL:

echo "VITE_BACKEND_URL=https://mydomain.tld" > .env.local

Or un-set it if both frontend and backend will run on the same URL:

echo "VITE_BACKEND_URL=" > .env.local

Compile:

npm run build

This will produce a static website in the /dist directory.

Development

Compiles and hot-reloads for development

npm start

Run your unit tests

npm run test

Lint files

npm run lint

Localization

Messages are stored in src/locales and can be edited using Weblate.