@nx/vue

The Nx plugin for Vue.

Setting up a new Nx workspace with Vue

You can create a new workspace that uses Vue with one of the following commands:

  • Generate a new monorepo with a Vue app set up with Vue

npx create-nx-workspace@latest --preset=vue

Add Vue to an existing workspace

There are a number of ways to use Vue in your existing workspace.

Install the @nx/vue plugin

Generate a new project using Vue

To generate a Vue application, run the following:

To generate a Vue library, run the following:

Package reference

Here is a list of all the executors and generators available from this package.

Guides

Executors

Generators