Look at the nuxt 3 documentation. Look at the prismic 3 module.
Use Node version 16+
nvm use 16
Make sure to install the dependencies:
yarn install
Start the development server on http://localhost:3000
yarn dev
Start the slice machine locally on http://localhost:9999
yarn slicemachine
Build the application for production:
yarn build
Checkout the deployment documentation for more information.