跳转到主要内容

Fastify

nx 需要安装的包

npm i --save-dev @nrwl/jsnode @nrwl/js

添加一个 node 项目

nx g @nrwl/node:application api

fastify 需要安装的包

npm i --save fastify @fastify/autoload @fastify/sensible fastify-plugin fastify-zod fastify-cli @prisma/client 
npm i --save-dev fastify-tsconfig prisma