The repository is mainly written in TypeScript and uses Vue to create a SPA (Single Page Application). If you want more information about the project itself you should have a look inside Fluxios ducumentation.
FluxioFrontend provides a Docker file with nginx for easy deployment. If you can't or don't want to use Docker you can provide fluxiofrontends static files with other methodes. You can ether compile them yourself or look inside the CI/CD pipeline and download the newest version of the dist/ folder.
For this you need to have Docker installed and the Docker.service should be running. You can check this with docker info
or use docker ps
to display a list of you running Docker containers.
git ....
You should have cloned this repository to your local machine and be inside you repositorys folder.
docker build -t fluxiofrontend .
docker run --name fluxiofrontend --restart=always -p 8080:80 -d fluxiofrontend
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
.vue
Imports in TSTypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
Extensions: Show Built-in Extensions
from VSCode's command paletteTypeScript and JavaScript Language Features
, right click and select Disable (Workspace)
Developer: Reload Window
from the command palette.See Vite Configuration Reference.
npm install
npm run dev
npm run build
npm run test:unit
npm run lint
Generated using TypeDoc