The Nx plugin for Nuxt.
Setting up a new Nx workspace with Nuxt
You can create a new workspace that uses Nuxt with one of the following commands:
- Generate a new monorepo with a Nuxt app
❯
npx create-nx-workspace@latest --preset=nuxt
Add Nuxt to an existing workspace
There are a number of ways to use Nuxt in your existing workspace.
Install the @nx/nuxt
plugin
❯
npm install -D @nx/nuxt
Generate a new Nuxt app
❯
nx g @nx/nuxt:app my-app