1
0
Fork
You've already forked mitra-web
0
Mitra Web UI
Vue 70.3%
TypeScript 25.8%
SCSS 2.8%
Shell 0.4%
JavaScript 0.4%
Other 0.3%
2023年06月06日 14:00:26 +02:00
icons Add manifest.json + multi-resolution general/maskable icons 2023年06月06日 14:00:26 +02:00
public Add manifest.json + multi-resolution general/maskable icons 2023年06月06日 14:00:26 +02:00
src Show loader when paying is being processed 2023年06月03日 21:12:24 +00:00
tests/unit Build project with Vite instead of Vue CLI 2023年05月10日 23:10:06 +00:00
.browserslistrc Initial commit 2021年11月29日 21:18:53 +00:00
.editorconfig Initial commit 2021年11月29日 21:18:53 +00:00
.env Build project with Vite instead of Vue CLI 2023年05月10日 23:10:06 +00:00
.eslintrc.js Migrate to Vue CLI v5 2022年05月18日 18:14:47 +00:00
.gitignore Initial commit 2021年11月29日 21:18:53 +00:00
.npmrc Initial commit 2021年11月29日 21:18:53 +00:00
.stylelintrc.json Initial commit 2021年11月29日 21:18:53 +00:00
CHANGELOG.md Bump version 2023年06月04日 20:34:06 +00:00
index.html Add manifest.json + multi-resolution general/maskable icons 2023年06月06日 14:00:26 +02:00
jest.config.js Build project with Vite instead of Vue CLI 2023年05月10日 23:10:06 +00:00
LICENSE Initial commit 2021年11月29日 21:18:53 +00:00
package-lock.json Bump version 2023年06月04日 20:34:06 +00:00
package.json Bump version 2023年06月04日 20:34:06 +00:00
README.md Build project with Vite instead of Vue CLI 2023年05月10日 23:10:06 +00:00
screenshot.png Update readme 2022年09月20日 21:33:25 +00:00
tsconfig.json Auto-suggest mentions in post editor 2023年05月25日 14:50:20 +00:00
vite.config.js Build project with Vite instead of Vue CLI 2023年05月10日 23:10:06 +00:00

Mitra Web

Default frontend for Mitra. Mitra includes a dark mode feature for visual accessibility.

screenshot

Requirements

  • node 12 or 14
  • 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