NewLife/NewLife.Cube.ArcoVue

NewLife.Cube.ArcoVue
Detail
Zip
Compare
大石头 authored at 2026-12-02 08:13:05
7dfb1a8
.github ci: 修正正式发版打包版本号拼接 大石头 2026-12-01 17:38:11
CubeDemo
Doc docs: 新增 v1.0.2026.1201 变更记录并同步依赖版本 大石头 2026-12-01 17:30:47
NewLife.Cube.ArcoVue
.editorconfig chore: 对齐 editorconfig 与源码实际编码 大石头 2026-11-28 17:54:05
.gitignore chore: 初始化仓库基础结构 大石头 2026-11-28 12:55:34
ChangeLog.md
Directory.Build.props
LICENSE chore: 初始化仓库基础结构 大石头 2026-11-28 12:55:34
local.props.example
readme-languages.json docs: 新增 README 说明项目目标与范围 大石头 2026-11-28 12:55:34
README.ar.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.de.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.es.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.fr.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.ja.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.ko.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.pt.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.ru.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.zh-CN.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
README.zh-TW.md docs: 补齐多语种 README 能力清单 大石头 2026-11-28 23:25:15
sync-readme-languages.ps1
魔方ArcoVue.slnx
README.md
# NewLife.Cube.ArcoVue - Vue 3 + Arco Design Vue + Vite 6 skin for NewLife.Cube ![Nuget](https://img.shields.io/nuget/v/newlife.cube.arco?logo=nuget) ![Nuget (with prereleases)](https://img.shields.io/nuget/vpre/newlife.cube.arco?label=dev%20nuget&logo=nuget) ![GitHub License](https://img.shields.io/github/license/NewLifeX/NewLife.Cube.ArcoVue?logo=github) <!-- lang:start --> 🌐 [简体中文](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.zh-CN.md) | [繁體中文](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.zh-TW.md) | [Español](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.es.md) | [Deutsch](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.de.md) | [日本語](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.ja.md) | [Français](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.fr.md) | [Português](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.pt.md) | [Русский](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.ru.md) | [한국어](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.ko.md) | [العربية](/NewLife/NewLife.Cube.ArcoVue/Blob/master/README.ar.md) <!-- lang:end --> The **ArcoVue skin** for the third-generation Web API front end of Cube (NewLife.Cube), delivered as a standalone NuGet package and repository. Built with **Vue 3 + Arco Design Vue + Vite 6**, it renders metadata-driven lists and forms and follows the Cube skin design specification. ## Highlights - Out of the box: reference the NuGet package, run `AddCube` + `UseCube`, and the embedded admin console is ready; no physical front-end files are required. - Metadata driven: lists, forms, search and detail pages are rendered from backend `meta`; adding an entity needs no front-end work. - Shared npm core: uses `@newlifex/cube` for API, page logic, field mapping and auth; the framework-agnostic core is shared by all Cube skins. - Skin switching: Cube auto-discovers referenced skin packages; switch with the `SpaSkin` setting. ## Quick Start Reference `NewLife.Cube` and `NewLife.Cube.ArcoVue`, then start the host: ```bash dotnet add package NewLife.Cube dotnet add package NewLife.Cube.ArcoVue ``` ```csharp services.AddCube(); var app = builder.Build(); app.UseCube(app.Environment); app.MapControllers(); app.Run(); ``` ## Local Development Start the demo backend and the Vite dev server: ```bash # backend (SQLite, http://localhost:7116) dotnet run --project CubeDemo/ArcoCubeDemo.csproj # frontend (http://localhost:5183) cd NewLife.Cube.ArcoVue/web pnpm install pnpm dev ``` ### Local boundary channel .NET: `dotnet build 魔方ArcoVue.slnx -p:UseLocalNewLifeSource=true` uses the sibling `../NewLife.Cube` source. npm: `pnpm link:local` / `pnpm unlink:local` switches to `../NewLife.Cube/packages/cube` and back. ## Build and Test Build the web assets, run checks and pack the NuGet package: ```bash cd NewLife.Cube.ArcoVue/web pnpm build pnpm test:unit dotnet build 魔方ArcoVue.slnx -c Release dotnet pack NewLife.Cube.ArcoVue/NewLife.Cube.ArcoVue.csproj -c Release -o out ``` ## Release CI builds the web assets, embeds `wwwroot` into the DLL, then packs and publishes `NewLife.Cube.ArcoVue` to NuGet. ## Related repositories | Repository | Description | | --- | --- | | [NewLife.Cube](https://github.com/NewLifeX/NewLife.Cube) | Cube core, shared npm package `@newlifex/cube` and skin design specification. | | [NewLife.Cube.React](https://github.com/NewLifeX/NewLife.Cube.React) | React skin (React 19 + Ant Design). | | [NewLife.Cube.ArcoVue](https://github.com/NewLifeX/NewLife.Cube.ArcoVue) | Arco Design Vue skin. | | [NewLife.Cube.Soybean](https://github.com/NewLifeX/NewLife.Cube.Soybean) | Soybean Admin skin. | ## License MIT