diff --git a/app.vue b/app.vue
index 2bc6cfa..808650c 100644
--- a/app.vue
+++ b/app.vue
@@ -1,11 +1,11 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/components/miaoContentWrapper.vue b/components/miaoContentWrapper.vue
index 98e4226..fc0a0ab 100644
--- a/components/miaoContentWrapper.vue
+++ b/components/miaoContentWrapper.vue
@@ -1,10 +1,10 @@
-
+
-
+
diff --git a/components/miaoDivider-left.vue b/components/miaoDivider-left.vue
new file mode 100644
index 0000000..7b40564
--- /dev/null
+++ b/components/miaoDivider-left.vue
@@ -0,0 +1,37 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 9f3e126..d6eb448 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -1,6 +1,6 @@
-import AutoImport from "unplugin-auto-import/vite";
-import { NaiveUiResolver } from "unplugin-vue-components/resolvers";
-import Components from "unplugin-vue-components/vite";
+// import AutoImport from "unplugin-auto-import/vite";
+// import Components from "unplugin-vue-components/vite";
+// import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
// https://nuxt.com/docs/api/configuration/nuxt-config
// @ts-ignore
@@ -8,6 +8,7 @@ export default defineNuxtConfig({
devtools: { enabled: false },
alias: {
"@": "/"
+ // 'dayjs': 'dayjs/esm/'
},
app: {
pageTransition: {
@@ -18,19 +19,20 @@ export default defineNuxtConfig({
vite: {
server: {},
plugins: [
- AutoImport({
- imports: [
- {
- "naive-ui": ["useDialog", "useMessage", "useNotification", "useLoadingBar"]
- }
- ]
- }),
- Components({
- resolvers: [NaiveUiResolver()]
- })
- ]
+ // AutoImport({
+ // resolvers: [ElementPlusResolver()],
+ // }),
+ // Components({
+ // resolvers: [ElementPlusResolver()],
+ // })
+ ],
+ test: {
+ deps: {
+ inline: ['element-plus']
+ }
+ },
},
- modules: ["nuxtjs-naive-ui", "@pinia/nuxt"],
+ modules: ["@pinia/nuxt", '@element-plus/nuxt'],
compatibilityDate: "2025-01-12",
build: {
analyze: {
@@ -38,7 +40,7 @@ export default defineNuxtConfig({
},
},
nitro: {
- compressPublicAssets: true,
+ compressPublicAssets: true,
},
experimental: { appManifest: false },
});
diff --git a/package.json b/package.json
index d446e14..bff0318 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
- "build": "nuxt build && atfBuild.sh",
+ "build": "nuxt build && bash ./aftBuild.sh",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
@@ -12,11 +12,10 @@
"dependencies": {
"@pinia/nuxt": "^0.9.0",
"@vicons/ionicons5": "^0.13.0",
+ "dayjs": "^1.11.13",
"markdown-it": "^14.1.0",
- "naive-ui": "^2.41.0",
"node-fetch": "^3.3.2",
- "nuxt": "^3.10.3",
- "nuxtjs-naive-ui": "^1.0.2",
+ "nuxt": "^3.15.1",
"pinia": "^2.3.0",
"unplugin-auto-import": "^19.0.0",
"unplugin-vue-components": "^28.0.0",
@@ -24,7 +23,10 @@
"vue-router": "^4.3.0"
},
"devDependencies": {
+ "@element-plus/nuxt": "^1.1.1",
"@types/markdown-it": "^14.1.2",
+ "element-plus": "^2.9.3",
"sass": "^1.83.1"
- }
+ },
+ "packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
}
diff --git a/pages/index.vue b/pages/index.vue
index 72ef8d0..fba613a 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -6,7 +6,7 @@