-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 安装 Nuxt UI 和配置 Typescript 类型检查
- Loading branch information
Showing
5 changed files
with
1,089 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
// https://nuxt.com/docs/api/configuration/nuxt-config | ||
export default defineNuxtConfig({ | ||
// SEO 和 Meta | ||
app: { | ||
head: { | ||
title: '程序员的梦中情站', | ||
charset: 'utf-8', | ||
viewport: 'width=device-width, initial-scale=1', | ||
meta: [ | ||
{ name: 'keywords', content: '程序员,梦中情站,工具,AI' }, | ||
{ name: 'description', content: '程序员的梦中情站,致力于开发一个能提高程序员开发效率的网站' } | ||
] | ||
} | ||
}, | ||
// 源目录 | ||
srcDir: 'src/', | ||
// 引入模块 | ||
modules: ['@nuxtjs/stylelint-module'] | ||
modules: ['@nuxtjs/stylelint-module', '@nuxt/ui'], | ||
// 构建时启动类型检查 | ||
typescript: { | ||
typeCheck: true | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.