The frontend`s architecture is based upon an Architectural Decision Records (ADR).
Mainly, Vue 3, vite, TS, tailwindCSS and PrimeVue are used.
npm i
npm run dev
go to http://localhost:3000
To have a consistent code style and quality, we use Eslint in combination with prettier.
Set the EsLint settings for Webstorm in Preferences --> Languages & Frameworks --> Javascript --> Code Quality Tools --> ESLint
- Automatic ESLint config check
- File extensions to check:
{**/*,*}.{js,ts,html,vue,json}
- Check on run eslint fix on save
Currently not working because of Intellij IDEs..., use npm run lint:fix
for now
npm i
: install dependencies / node modulesnpm run dev
: run app locally in dev environmentnpm run package
: build appnpm run preview
: builds app and lets the build run on a server locally - more production like previewnpm run test:unit
: runs unit tests and watches for changesnpm run test:unit:once
: runs unit tests once, doesn't watch for changesnpm run coverage
: creates code coverage. run twice after installationnpm run storybook
: runs storybook on 6006npm run lint
: runs eslint to check code quality
Vue 3 + Vite + Tailwind + TypeScript + PostCSS + Vitest
Includes ESlint and Prettier for formatation and i18n for multilanguage option.
- Vite
- Vue 3
- Vue Router v4
- Tailwind CSS v3
- Headless UI
- Heroicons
- Typescript
- Eslint
- Prettier: install Prettier plugin for VS Code, Jetbrains Editors have it included
- prettier-plugin-tailwindcss
- PostCSS: install PostCSS plugin for VS Code and Jetbrains Editors
- i18n V.9
- Vitest
- Vue Test Utils
- Vue Test Library
- jsDom
- PrimeVue: for components
First-party plugins needed for Tailwind UI:
The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Vitest + Vue Test Utils + Vue Test Library + jsDom
The Version of Storybook has 33 Vunerabilites and will be fixed in a future version of storybook. Since Storybook won't be deployed and is only used for dumb component development in dev process, they can be ignored for now. The API will replace storybook development in the future.
- Vite: Update from Vite ^2.0.0 to 3.2.5 was made because of compatibility problems
- Vite 3.2.5 (to 4.0.4): Vite 4 is relatively new. Dependencies are stable and dependent/working on Vite ^3.0.0. Check on a later date if update to ^4.0.0 is advisable.
- [@vitejs/plugin-vue](https://www.npmjs.com/package/@vitejs/plugin-vue/v/4.0.0-beta.0 update from 3.2.0 to 4.0.0: works only with Vite ^4.0.0
- Primevue 3.17.0 to 3.23.0: 3.23.0. still has the bug, where table row edit blocks the space. Check on a later date for update patches.
- Primicons 5.0.0 to 6.0.1: Primicons 6.0.1 need the newest Primevue version 3.23.0. Can be updated with Primevue, when known issue is fixed.
- Heroicons Update from 1.0.6 to ^2.0.14: All icons were changed to another design. There is no need to update if current design of icons are fine.