docs: annotate all shared frontend modules in Chinese

This commit is contained in:
cieanyau committed 2026-11-06 00:30:15 +08:00
1 parent 2be21c1c62
commit 408f8e5c98
55 files changed
+349

No files matched your search

+2
View File
@@ -1,3 +1,4 @@
/** 最早安装 Pinia 和 PrimeVue 服务,确保后续启动插件能使用 store、弹窗和提示。 */
import { defineNuxtPlugin } from "#app";
import { createPinia } from "pinia";
import PrimeVue from "primevue/config";
@@ -10,6 +11,7 @@ import options from "~/config/primevue.js";
export default defineNuxtPlugin({
name: "console-ui",
order: -20,
// 客户端插件只注册一次;具体主题/中文文案集中在 config/primevue.js。
setup({ vueApp }) {
vueApp.use(createPinia());
vueApp.use(PrimeVue, options);