Skip to content

ruitianzhong/dmfe

Repository files navigation

Driver Management Front End

About

This is a front end project(dmfe) for Bus Driver Management System which is the assignment of database course in Xidian University.

Vue & Vuetify are used.

DMBE is the related project written in Go for back end .

Copyright © 2023-Present Ruitian Zhong

Configuration

API baseURL

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';

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

# pnpm
bun install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

# bun
bun run dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

# bun
bun run build

Lints and fixes files

# yarn
yarn lint

# npm
npm run lint

# pnpm
pnpm lint

# bun
bun run lint

Customize configuration

See Configuration Reference.