Skip to content

icepie/ray-gin-admin

 
 

Repository files navigation

Ray Template

English | 简体中文

A completely free, efficient, feature complete and based on vite5. x & ts(x) & pinia & vue3. x and other latest technology in the background template.

🌻 Intro

Ray Template uses cutting-edge front-end technology, abandoning complexity and bloat, using modular design, decoupling data, methods and views, focusing on business development. Provide rich configuration and rich template Hooks, support personalized customization, to meet your project needs.

✨ Features

  • New technology stack: using ts(x), vite5. x, vue3. x, pinia and other front-end cutting-edge technology development
  • Theme: configurable theme
  • Internationalization: built-in perfect internationalization solution
  • Permissions: built-in perfect dynamic routing permission generation solution
  • Components: secondary encapsulation of multiple common components
  • Toolkit: common tool function packaging
  • Cache: arbitrary depth page caching
  • Modular design: decoupling management data, methods, views, rest assured secondary development
  • Configurable: support rich configuration items
  • Code style: built-in prettier, eslint and other code style tools
  • Multi-terminal adaptation: support pc, phone, pad
  • Documentation: complete documentation
  • Mock data: built-in Mock data solution
  • Axios request: secondary encapsulation of axios library, support: cancel, jitter, automatic repeat cancellation and other functions
  • SVG: built-in svg icon solution
  • Hooks: based on the template characteristics of the encapsulated hooks to make it easier to use some functions of the template
  • TypeScript: provide a complete type

👀 Preview

📌 Documentation

🔋 Change Log

🪴 Prepare

  • Node and git - project development environment
  • Vite - familiar with vite features
  • Vue3 - familiar with Vue basic syntax
  • TypeScript - familiar with TypeScript basic syntax
  • ES6+ - familiar with es6 basic syntax
  • Vue-Hooks-Plus - familiar with vue-hooks-plus useRequest method basic use
  • Vue-Router-Next - familiar with vue-router4.x basic use
  • Naive-UI - naive ui basic use
  • Mock.js - mockjs basic syntax
  • Pinia - state manager pinia usage
  • TSX - tsx basic syntax

📦 Setup

Get Project

# github
git clone https://github.com/XiaoDaiGua-Ray/ray-template.git

# If your download speed is very slow, you can switch to the proxy address below
git clone https://mirror.ghproxy.com/https://github.com/XiaoDaiGua-Ray/ray-template.git

Pull dependencies

pnpm i

Startup project

pnpm dev

Build project

pnpm build

Preview project

pnpm preview

Report project

pnpm report

Development

Just delete the files under views/demo, router/modules/demo to get a clean project template.

🪴 Project Activities

Alt

Contributors

Thanks for all their contributions 🐝 !

Browser Support

 Edge
IE
 Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
not support last 2 versions last 2 versions last 2 versions last 2 versions

📄 License

MIT License © 2022-PRESENT Ray

About

Ray Template, A concise vue middle and background template.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.1%
  • SCSS 3.9%
  • JavaScript 2.0%
  • HTML 0.5%
  • Vue 0.3%
  • Shell 0.1%
  • Dockerfile 0.1%