Create new component

To speed up the development process, we provide a boilerplate with a minimal file structure. You can copy it into your components folder with a single command.

npx vueless create <componentName>

# example:
# npx vueless create URadioCard

The component will be created in the project's /components folder:

  • /src/components/<componentName> – for Vue

  • /components/<componentName> – for Nuxt

Last updated