This is a front end project(dmfe) for Bus Driver Management System which is the assignment of database course in Xidian University.
DMBE is the related project written in Go for back end .
Copyright © 2023-Present Ruitian Zhong
Modify the axios.defaults.baseURL in api/config.js according to your need.
For example, if you are using https://example.com for DMBE, you can configure defaults.baseURL like this
axios.defaults.baseURL = 'https://example.com';
If you are just testing on your machine, and DMBE has been set up on your machine which is listening on port 8080, you can configure like this:
axios.defaults.baseURL = 'http://localhost:8080';
# yarn
yarn
# npm
npm install
# pnpm
pnpm install
# pnpm
bun install
# yarn
yarn dev
# npm
npm run dev
# pnpm
pnpm dev
# bun
bun run dev
# yarn
yarn build
# npm
npm run build
# pnpm
pnpm build
# bun
bun run build
# yarn
yarn lint
# npm
npm run lint
# pnpm
pnpm lint
# bun
bun run lint