The Nx plugin for Vue.
Setting Up @nx/vue
Section titled “Setting Up @nx/vue”Generating a new Workspace
Section titled “Generating a new Workspace”To create a new workspace with Vue, run npx create-nx-workspace@latest --preset=vue
.
Installation
Section titled “Installation”In any Nx workspace, you can install @nx/vue
by running the following command:
nx add @nx/vue
This will install the correct version of @nx/vue
.
Using the @nx/vue Plugin
Section titled “Using the @nx/vue Plugin”Generate a new project using Vue
Section titled “Generate a new project using Vue”To generate a Vue application, run the following:
nx g @nx/vue:app apps/my-app
To generate a Vue library, run the following:
nx g @nx/vue:lib libs/my-lib