vue.netcore Rapid Development Framework
repository·master·Indexed 26 days ago
https://github.com/cq-panda/vue.netcoreA rapid development framework for decoupled web applications combining Vue (2/3) and .NET 8. It features a code generator for CRUD interfaces, master-detail forms, and business logic scaffolding. The framework supports EFCore 8.0, SqlSugar, Dapper, and various databases including SQL Server, MySQL, PostgreSQL, and Oracle. It includes a suite of Vue components such as ViewGrid, VolBox, VolForm, VolTable, and VolTag, along with built-in multi-language translation utilities.
What's inside vue.netcore
- This project is a rapid development framework designed for decoupled (front-end/back-end) architectures using Vue and .NET 8. It focuses on minimizing repetitive coding through a powerful code generator that supports master-detail (one-to-one and one-to-many) relationships, automatic data binding for forms (select/checkbox), and automatic key/value conversion for tables. The framework is designed to be extended with custom business logic using nearly 300 provided extension methods and properties.
Access framework documentation and demos
masterDepending on your version or platform, use the following documentation links:
- Vue 3 Version: http://www.volcore.xyz
- Vue 2 Version: http://v2.volcore.xyz/document/guide
- Mobile (App, H5, WeChat Mini Program): http://app.volcore.xyz/
Default Demo Credentials:
- Super Administrator:
admin/123456 - Standard Administrator:
admin666/123456
Install vol.vue3 dependencies
masterTo set up the
vol.vue3project, install the necessary dependencies using npm.npm installRun vol.vue3 in development mode
masterTo start the development server with hot-reloading enabled, use the
servescript.npm run serveBuild vol.vue3 for production
masterTo compile and minify the project for production deployment, use the
buildscript.npm run buildConfigure the development environment for Vue + .Net8
masterTo develop with this framework, ensure your environment meets the following requirements:
Back-end Requirements:
- IDE: VS2022
- Runtime: .NET 8
- ORM/Data: EFCore 8.0, SqlSugar, Dapper
- Security/Auth: JWT
- Communication/Task/DI: SignalR, Quartz.Net, Autofac
- Databases: SQL Server, MySQL, PostgreSQL, Oracle
- Cache: Redis
Front-end Requirements:
- IDE: VS Code
- Frameworks: Vue 2 or Vue 3, TypeScript
- Build Tool: Vite
- State Management: Vuex
- HTTP Client: Axios
- UI Components: Element UI or Element Plus
Run unit tests in vol.vue3
masterTo execute the project's unit tests, use the
test:unitscript.npm run test:unitLint and fix files in vol.vue3
masterTo run linting and automatically fix style or syntax issues, use the
lintscript.npm run lintInitialize the translation utility
masterTo enable multi-language support in your Vue application, call theinitmethod and pass your Vue application instance. This registers global properties ($ts,$tst,$changeSource) and loads the necessary language scripts via an AJAX request to thelang/{lang}.jsendpoint.Install the VolForm component
masterTo use theVolFormcomponent globally in your Vue application, use theinstallmethod provided by theVolFormobject. This registers theVolFormcomponent with the Vue app instance, allowing you to use<VolForm />in any template.Install the VolTable component
masterTo use theVolTablecomponent globally in your Vue application, use theinstallmethod provided by theVolTableobject. This registers the component under the nameVolTable.Install and use the ViewGrid component
masterTheViewGridcomponent provides a tabular view for displaying data. To use it in a Vue 3 application, install it as a plugin usingapp.use(ViewGrid). This registers theViewGridcomponent globally, allowing you to use it in any template via the<ViewGrid />tag.