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 1,328
Resource Number 44967 Last Updated 2025-02-24
¥ 0HKD 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/open-source-backend-template-based-on-vue3-with-built-in-rich-and-configurable-themes/

Share free open-source source code

Q&A
  • 1. Automatic: After making an online payment, click the (Download) link to download the source code; 2. Manual: Contact the seller or the official to check if the template is consistent. Then, place an order and make payment online. The seller ships the goods, and both parties inspect and confirm that there are no issues. ICTcoder will then settle the payment for the seller. Note: Please ensure to place your order and make payment through ICTcoder. If you do not place your order and make payment through ICTcoder, and the seller sends fake source code or encounters any issues, ICTcoder will not assist in resolving them, nor can we guarantee your funds!
View details
  • 1. Default transaction cycle for source code: The seller manually ships the goods within 1-3 days. The amount paid by the user will be held in escrow by ICTcoder until 7 days after the transaction is completed and both parties confirm that there are no issues. ICTcoder will then settle with the seller. In case of any disputes, ICTcoder will have staff to assist in handling until the dispute is resolved or a refund is made! If the buyer places an order and makes payment not through ICTcoder, any issues and disputes have nothing to do with ICTcoder, and ICTcoder will not be responsible for any liabilities!
View details
  • 1. ICTcoder will permanently archive the transaction process between both parties and snapshots of the traded goods to ensure the authenticity, validity, and security of the transaction! 2. ICTcoder cannot guarantee services such as "permanent package updates" and "permanent technical support" after the merchant's commitment. Buyers are advised to identify these services on their own. If necessary, they can contact ICTcoder for assistance; 3. When both website demonstration and image demonstration exist in the source code, and the text descriptions of the website and images are inconsistent, the text description of the image shall prevail as the basis for dispute resolution (excluding special statements or agreements); 4. If there is no statement such as "no legal basis for refund" or similar content, any indication on the product that "once sold, no refunds will be supported" or other similar declarations shall be deemed invalid; 5. Before the buyer places an order and makes payment, the transaction details agreed upon by both parties via WhatsApp or email can also serve as the basis for dispute resolution (in case of any inconsistency between the agreement and the description of the conflict, the agreement shall prevail); 6. Since chat records and email records can serve as the basis for dispute resolution, both parties should only communicate with each other through the contact information left on the system when contacting each other, in order to prevent the other party from denying their own commitments. 7. Although the probability of disputes is low, it is essential to retain important information such as chat records, text messages, and email records, in case a dispute arises, so that ICTcoder can intervene quickly.
View details
  • 1. As a third-party intermediary platform, ICTcoder solely protects transaction security and the rights and interests of both buyers and sellers based on the transaction contract (product description, agreed content before the transaction); 2. For online trading projects not on the ICTcoder platform, any consequences are unrelated to this platform; regardless of the reason why the seller requests an offline transaction, please contact the administrator to report.
View details

Related Source code

ICTcoder Customer Service

24-hour online professional services