commit 20cb57d61580caf9a43b96e55ba56fcfb8946b1c Author: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon Oct 27 16:22:18 2025 +0800 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4a7f73a --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Nuxt dev/build outputs +.output +.data +.nuxt +.nitro +.cache +dist + +# Node dependencies +node_modules + +# Logs +logs +*.log + +# Misc +.DS_Store +.fleet +.idea + +# Local env files +.env +.env.* +!.env.example diff --git a/README.md b/README.md new file mode 100644 index 0000000..25b5821 --- /dev/null +++ b/README.md @@ -0,0 +1,75 @@ +# Nuxt Minimal Starter + +Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. + +## Setup + +Make sure to install dependencies: + +```bash +# npm +npm install + +# pnpm +pnpm install + +# yarn +yarn install + +# bun +bun install +``` + +## Development Server + +Start the development server on `http://localhost:3000`: + +```bash +# npm +npm run dev + +# pnpm +pnpm dev + +# yarn +yarn dev + +# bun +bun run dev +``` + +## Production + +Build the application for production: + +```bash +# npm +npm run build + +# pnpm +pnpm build + +# yarn +yarn build + +# bun +bun run build +``` + +Locally preview production build: + +```bash +# npm +npm run preview + +# pnpm +pnpm preview + +# yarn +yarn preview + +# bun +bun run preview +``` + +Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. diff --git a/app/app.config.ts b/app/app.config.ts new file mode 100644 index 0000000..2856c9d --- /dev/null +++ b/app/app.config.ts @@ -0,0 +1,32 @@ +export default defineAppConfig({ + ui: { + header: { + slots: { + root: 'bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50', + container: 'flex items-center justify-between gap-3 h-full', + left: 'lg:flex-1 flex items-center gap-1.5', + center: 'hidden lg:flex', + right: 'flex items-center justify-end lg:flex-1 gap-1.5', + title: 'shrink-0 font-bold text-xl text-highlighted flex items-end gap-1.5', + toggle: 'lg:hidden', + content: 'lg:hidden', + overlay: 'lg:hidden', + header: 'px-4 sm:px-6 h-(--ui-header-height) shrink-0 flex items-center justify-between gap-3', + body: 'p-4 sm:p-6 overflow-y-auto' + }, + variants: { + toggleSide: { + left: { + toggle: '-ms-1.5' + }, + right: { + toggle: '-me-1.5' + } + } + } + }, + colors: { + primary: 'blue', + } + } +}) diff --git a/app/app.vue b/app/app.vue new file mode 100644 index 0000000..547783d --- /dev/null +++ b/app/app.vue @@ -0,0 +1,27 @@ + + \ No newline at end of file diff --git a/app/assets/css/main.css b/app/assets/css/main.css new file mode 100644 index 0000000..ae5f5a5 --- /dev/null +++ b/app/assets/css/main.css @@ -0,0 +1,17 @@ +@import "tailwindcss"; +@import "@nuxt/ui"; + + + + +/*:root {*/ +/* --ui-container: var(--container-4xl);*/ + +/* !*::selection {*!*/ +/* !* color: #282a30;*!*/ +/* !* background-color: #c8c8c8;*!*/ +/* !*}*!*/ +/*}*/ +/*:root {*/ +/* --ui-header-height: --spacing(24);*/ +/*}*/ diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue new file mode 100644 index 0000000..f78a73a --- /dev/null +++ b/app/components/AppFooter.vue @@ -0,0 +1,80 @@ + + + diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue new file mode 100644 index 0000000..d478eac --- /dev/null +++ b/app/components/AppHeader.vue @@ -0,0 +1,45 @@ + + +