up-vite-backend-template
v0.0.3
Published
vite-backend-template
Downloads
1
Maintainers
Readme
this project based on vite and react, support the xmkp-bs-cli.
Integration
lint
- local eslint
- bind remote SonarLint platform
format code
- prettier
dayjs up
- dayjs replace momentjs
- usage:
import DatePicker from '@/components/datePicker'; import dayjs from 'dayjs'; var now = dayjs(); <DatePicker defaultValue={now} />
Enhance
route and strongRoute
- routes config for route
- strongRoutes config for breadcrumb and other place
page container
- we don't have to care about the breadcrumb and extra buttons in the wrap container, just config it.
- example:
import Container from '@/components/container'; <Containe extra={extra}> // inner components {...} </Containe
Scripts
yarn
install the dependencies with xnpm.
sudo yarn run dev
run your project in the development environment.
sudo yarn run build:test
build your project in test environment.
deploy
different environment all in yunxiao.