Slash Admin is a modern admin dashboard template built with React 18, Vite, Ant Design, and TypeScript. It is designed to help developers quickly create powerful admin management systems.
English | 中文
![]() |
![]() |
---|---|
![]() |
![]() |
git clone https://github.com/d3george/slash-admin.git
In the project's root directory, run the following command to install project dependencies:
pnpm install
Run the following command to start the development server:
pnpm dev
Visit http://localhost:3001 to view your application.
Run the following command to build the production version:
pnpm build
Enter the project root directory in the terminal and execute the following command to build the Docker image:
docker build -t your-image-name .
Make sure to replace your-image-name
with your own image name
Run your application in the Docker container using the following command:
docker run -p 3001:80 your-image-name
This will run your application on port 80
(exposed in Dockerfile
) of the container and map it to port 3001
on your host.
Now you can access http://localhost:3001 to view the deployed applications.
Enter the project root directory in the terminal and execute the following command to start Docker Compose:
docker-compose up -d
Docker Compose will build an image based on the configuration defined by 'docker-compose. yaml' and run the container in the background.
After the container runs successfully, it can also be accessed through http://localhost:3001 To view the deployed applications.
reference.commitlint.config.js
feat
new featuresfix
fix thedocs
documentation or commentsstyle
code format (changes that do not affect code execution)refactor
refactorperf
performance optimizationrevert
revert committest
test relatedchore
changes in the construction process or auxiliary toolsci
modify CI configuration and scriptstypes
type definition file changeswip
in development