Vue3 based open source middle and background template, built-in rich configurable theme

Vue3 based open source middle and background template, built-in rich configurable theme

2022-10-10 0 976
Resource Number 44967 Last Updated 2025-02-24
¥ 0USD Upgrade VIP
Download Now Matters needing attention
Can't download? Please contact customer service to submit a link error!
Value-added Service: Installation Guide Environment Configuration Secondary Development Template Modification Source Code Installation

This issue is recommended one based on Vue3, Vite, TypeScript, Naive UI in the background template – Soybean Admin.

Vue3 based open source middle and background template, built-in rich configurable theme插图

Soybean Admin is a free background template based on Vue3, Vite, TypeScript, Naive UI, it uses the latest front-end technology stack, built-in rich theme configuration, has a high code specification, Dynamic permission routing based on mock implementation, out-of-the-box middle and background front-end solution, can also be used for learning reference.

Features

  • Latest technology stack: Based on Vue3, Vite, Naive UI, TypeScript and other latest technology stack development
  • Extremely high standard code specification: perfect code specification, clear code structure
  • Rich plugins: Common Web side plugins example implementation
  • Component encapsulation: Secondary encapsulation of UI components used more frequently to meet more business requirements
  • Theme configuration: rich theme configuration and dark theme adaptation
  • Authority management: Perfect front-end and back-end authority management scheme

Feature details

stack

Vite2 + Vue3 + TypeScript + NaiveUI + Pinia + WindiCss + Axios + AntV + @vueuse + iconify

Strict code conventions

1, eslint + prettier + eslint-config-airb-base + eslint-plugin-vue + eslint-plugin-import + @
Plugins such as typescrit-ESLint /eslint-plugin provide comprehensive formatting for code, and eslintrc’s import/order rules specify the order in which dependencies are imported.
husky + lint-staged + vuetsc + commitlint + commitizen ensures that the submitted code conforms to eslint rules and TS type checks. The commit specification follows the angular commit specification

3. Apply design patterns to optimize code: The project uses the strategy pattern multiple times to replace if else

4. Use script-setup for all pages and follow a specific order (using documentation)

5. The organization of directory structure follows specific norms, and the writing method of pages strictly follows the module idea, so that the code structure of each page is clear and clear

Permission route

1. The dynamic route data is generated by mock, and the dynamic route is added to the front end

2. Specifies the type of mock route to facilitate quick docking

3, the menu is generated by dynamic routing data, support to hide the specified menu, support multi-level menu, support external link to open

4. Cached pages in multiple tabs keep track of scroll position

5, breadcrumbs data generated from current route and menu data

theme

1. Support various theme colors, dark modes, and various layouts

2. WindiCss introduces various theme colors, and the corresponding colors can be applied directly through the class

3, initialize loading adapt theme color

4, support project logo adaptive theme color

Request function: Wrapping with axios

1. Request instance: Multiple request instances with different baseUrl can be created

2. Unified request results: The error information is unified into a specific format, and the successful request data is returned in a specific format

interface ServiceResult<T> {

data: T | null,

error: ServiceError | null

}

3, error prompt: intelligent prompt error, avoid the same kind of error in the same time period, by specifying the error code does not show the response error

4. token refresh: no sense to refresh token

5, Request parameter conversion: according to different Content-Type conversion data, using qs serialization data, support single file and multiple file upload

6. The wrapped request function supports Promises and hooks, and the Hook request function contains the loading state

Custom component

1. Layout component soybean-admin-layout:

  • Divided into header, tab, sider, content, footer five parts, except content, the rest can control the display and hide, and you can customize excessive animation
  • supports vertical and horizontal modes, combined with local reality hiding, providing 4 layout modes for the project
  • High performance component that focuses on the current few layout patterns without having to worry too much compared to layouts built with UI components

2. Multitab components soybean-admin-tab: ChromeTab and ButtonTab

  • Support theme color and dark mode
  • ChromeTab looks like a browser’s TAB, but with fresh styling
  • Combined with BetterScroll, the left and right mouse sliding of multi-tab components (left and right touch sliding of mobile terminals) is realized, and the active Tab is automatically centered

3. LoadingEmptyWrapper

  • Components that support realistic loading state, empty state, and network state
  • Support theme color and dark mode
  • Image text size via attributes

Screenshot

Vue3 based open source middle and background template, built-in rich configurable theme插图1 Vue3 based open source middle and background template, built-in rich configurable theme插图2 Vue3 based open source middle and background template, built-in rich configurable theme插图3 Vue3 based open source middle and background template, built-in rich configurable theme插图4 Vue3 based open source middle and background template, built-in rich configurable theme插图5 Vue3 based open source middle and background template, built-in rich configurable theme插图6 Vue3 based open source middle and background template, built-in rich configurable theme插图7 Vue3 based open source middle and background template, built-in rich configurable theme插图8

Install using

pnpm 6.x, Node.js 14.x, and Git

installed locally

Code clone

git clone https://github.com/honghuangdc/soybean-admin.git

Install dependencies

pnpm i

Run

pnpm dev

packing

pnpm build

Supported

Vue3 based open source middle and background template, built-in rich configurable theme插图9

—END—

Open source license: MIT

资源下载此资源为免费资源立即下载
Telegram:@John_Software

Disclaimer: This article is published by a third party and represents the views of the author only and has nothing to do with this website. This site does not make any guarantee or commitment to the authenticity, completeness and timeliness of this article and all or part of its content, please readers for reference only, and please verify the relevant content. The publication or republication of articles by this website for the purpose of conveying more information does not mean that it endorses its views or confirms its description, nor does it mean that this website is responsible for its authenticity.

Ictcoder Free source code Vue3 based open source middle and background template, built-in rich configurable theme https://ictcoder.com/kyym/open-source-backend-template-based-on-vue3-with-built-in-rich-and-configurable-themes.html

Share free open-source source code

Q&A
  • 1, automatic: after taking the photo, click the (download) link to download; 2. Manual: After taking the photo, contact the seller to issue it or contact the official to find the developer to ship.
View details
  • 1, the default transaction cycle of the source code: manual delivery of goods for 1-3 days, and the user payment amount will enter the platform guarantee until the completion of the transaction or 3-7 days can be issued, in case of disputes indefinitely extend the collection amount until the dispute is resolved or refunded!
View details
  • 1. Heptalon will permanently archive the process of trading between the two parties and the snapshots of the traded goods to ensure that the transaction is true, effective and safe! 2, Seven PAWS can not guarantee such as "permanent package update", "permanent technical support" and other similar transactions after the merchant commitment, please identify the buyer; 3, in the source code at the same time there is a website demonstration and picture demonstration, and the site is inconsistent with the diagram, the default according to the diagram as the dispute evaluation basis (except for special statements or agreement); 4, in the absence of "no legitimate basis for refund", the commodity written "once sold, no support for refund" and other similar statements, shall be deemed invalid; 5, before the shooting, the transaction content agreed by the two parties on QQ can also be the basis for dispute judgment (agreement and description of the conflict, the agreement shall prevail); 6, because the chat record can be used as the basis for dispute judgment, so when the two sides contact, only communicate with the other party on the QQ and mobile phone number left on the systemhere, in case the other party does not recognize self-commitment. 7, although the probability of disputes is very small, but be sure to retain such important information as chat records, mobile phone messages, etc., in case of disputes, it is convenient for seven PAWS to intervene in rapid processing.
View details
  • 1. As a third-party intermediary platform, Qichou protects the security of the transaction and the rights and interests of both buyers and sellers according to the transaction contract (commodity description, content agreed before the transaction); 2, non-platform online trading projects, any consequences have nothing to do with mutual site; No matter the seller for any reason to require offline transactions, please contact the management report.
View details

Related Article

make a comment
No comments available at the moment
Official customer service team

To solve your worries - 24 hours online professional service