Look at the Nuxt documentation to learn more.
Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.
本项目使用了以下Google字体,并已进行本地化以提高性能和兼容性:
下载字体文件:
转换为WOFF2格式
fonttools
:pip install fonttools brotli
然后运行 python -m fontTools.ttLib.woff2 compress 字体文件.ttf -o 字体文件.woff2
放置文件
public/fonts/[字体名称]
目录中