Skip to content

Commit

Permalink
feat(layouts): 实现顶部 Header 布局
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwumm committed Apr 26, 2024
1 parent 83a6322 commit 9317bd7
Show file tree
Hide file tree
Showing 17 changed files with 1,335 additions and 812 deletions.
3 changes: 3 additions & 0 deletions Tailwind .config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
darkMode: 'class'
}
10 changes: 6 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ export default defineNuxtConfig({
meta: [
{ name: 'keywords', content: '程序员,梦中情站,工具,AI' },
{ name: 'description', content: '程序员的梦中情站,致力于开发一个能提高程序员开发效率的网站' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: 'favicon.ico' }
]
}
},
// 源目录
srcDir: 'src/',
// 引入模块
modules: ['@nuxtjs/stylelint-module', '@nuxt/ui'],
// 构建时启动类型检查
typescript: {
typeCheck: true
modules: ['@nuxt/ui', '@nuxt/image', 'nuxt-icons'],
experimental: {
viewTransition: true
}
})
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"private": true,
"type": "module",
"version": "1.2.2",
"author": {
"name": "baiwumm",
"email": "[email protected]"
},
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand All @@ -18,28 +22,28 @@
"release": "release-it patch"
},
"dependencies": {
"@iconify-json/heroicons": "^1.1.20",
"@iconify/json": "^2.2.200",
"@nuxt/ui": "^2.15.1",
"nuxt": "^3.11.1",
"nuxt": "^3.11.2",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@nuxt/eslint-config": "^0.2.0",
"@nuxt/image": "^1.6.0",
"@nuxtjs/stylelint-module": "^5.2.0",
"@release-it/conventional-changelog": "^8.0.1",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"nuxt-icons": "^3.2.1",
"prettier": "^3.2.5",
"release-it": "^17.1.1",
"stylelint": "^16.3.1",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4",
"typescript": "^5.4.4",
"vue-tsc": "^1"
"stylelint-order": "^6.0.4"
}
}
Loading

0 comments on commit 9317bd7

Please sign in to comment.