diff --git a/package.json b/package.json
index a6c944e36..5e5f10c4a 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,24 @@
"email": "soybeanjs@outlook.com",
"url": "https://github.com/soybeanjs"
},
+ "license": "MIT",
+ "homepage": "https://github.com/honghuangdc/soybean-admin",
+ "repository": {
+ "url": "https://github.com/honghuangdc/soybean-admin.git"
+ },
+ "bugs": {
+ "url": "https://github.com/honghuangdc/soybean-admin/issues"
+ },
+ "keywords": [
+ "Vue3 admin ",
+ "vue-admin-template",
+ "Vite5",
+ "TypeScript",
+ "naive-ui",
+ "naive-ui-admin",
+ "ant-design-vue v4",
+ "UnoCSS"
+ ],
"scripts": {
"build": "run-s typecheck build-only",
"build-only": "vite build",
@@ -82,5 +100,6 @@
},
"lint-staged": {
"*": "eslint --fix"
- }
+ },
+ "website": "https://admin.soybeanjs.cn"
}
diff --git a/src/layouts/modules/global-footer/index.vue b/src/layouts/modules/global-footer/index.vue
index ffec21ec4..6341a1f8b 100644
--- a/src/layouts/modules/global-footer/index.vue
+++ b/src/layouts/modules/global-footer/index.vue
@@ -5,7 +5,11 @@ defineOptions({
-
+
+
+ Copyright MIT © 2021 Soybean
+
+
diff --git a/uno.config.ts b/uno.config.ts
index 4e3127a51..2f86f998e 100644
--- a/uno.config.ts
+++ b/uno.config.ts
@@ -22,6 +22,9 @@ export default defineConfig({
'icon-xl': '2rem'
}
},
+ shortcuts: {
+ 'card-wrapper': 'rd-8px shadow-sm'
+ },
transformers: [transformerDirectives(), transformerVariantGroup()],
presets: [presetUno({ dark: 'class' }), presetSoybeanAdmin()]
});
diff --git a/vite.config.ts b/vite.config.ts
index 5085ee531..86938bdfb 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,12 +1,15 @@
import process from 'node:process';
import { URL, fileURLToPath } from 'node:url';
import { defineConfig, loadEnv } from 'vite';
+import dayjs from 'dayjs';
import { setupVitePlugins } from './build/plugins';
import { createViteProxy } from './build/config';
export default defineConfig(configEnv => {
const viteEnv = loadEnv(configEnv.mode, process.cwd()) as unknown as Env.ImportMeta;
+ const buildTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
+
return {
base: viteEnv.VITE_BASE_URL,
resolve: {
@@ -24,7 +27,7 @@ export default defineConfig(configEnv => {
},
plugins: setupVitePlugins(viteEnv),
define: {
- BUILD_TIME: JSON.stringify(new Date().toISOString())
+ BUILD_TIME: JSON.stringify(buildTime)
},
server: {
host: '0.0.0.0',