1.7.0 • Published 1 year ago

ldv v1.7.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

ldv-vue-commands

Simple commands for creating new components and views in Vue 3. This package was created for personal convenience, but may be useful for others as well. The command line interface (CLI) is straightforward and easy to use.

Installation

npm install ldv --global

Usage

ldv c <name>

Creates a new Vue component with the name specified. A corresponding .vue and .scss file will be created, with a basic Vue component template and scss file respectively. The component will be placed in the src/components directory.

ldv v <name>

Creates a new Vue view with the name specified. A corresponding. A corresponding .vue and .scss file will be created, with a basic Vue view template and scss file respectively. The view will be placed in the src/views directory.

Assumptions

This package assumes that your file architecture has a src folder with components and views directories. The CLI will create a new folder with the specified name in these directories and create the .vue and .scss files inside. The .scss file will be imported to the main style.scss file in the src directory, assuming you have one.

License

MIT

1.7.0

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago