2.0.1 • Published 2 months ago

mkvue v2.0.1

Weekly downloads
11
License
ISC
Repository
github
Last release
2 months ago

mkvue

A NodeJS command line utility to assist in the creation of VueJS v3 applications built using Vite's own scaffolded project.

This CLI tool can create instances of a templated project and assist in common tasks like creating/removing Routes, Components, and Models. Along with creating/removing the necessary files, this tool will also update their registration, specifically regarding application Routes.

The goal is to minimize the tedious work one must do while creating an application and provide the most frictionless process.

Getting Started

  1. Install the utility
    $ npm install mkvue -g
    This will install the utility in the global namespace for you to use in any directory.

Commands

$ mkvue -V, --version

-V, --version Prints out current version of CLI tool.

$ mkvue project fullProjectPath

fullProjectPath This project path must include the project folder name or else it'll dump the project contents into the last folder in the path. If fullProjectPath is not provided, the current working directory will be used as the new project folder.

$ mkvue route -r, --remove

This command must be run in the root of the project folder. Note that route names will be turned into Pascal case class names, but camel case uri route strings.

-r, --remove Removes the route files/dependency specification with the provided routeName.

$ mkvue component -r, --remove

This command must be run in the root of the project folder. Note that component names will be turned into Pascal case class names, with dash separated CSS selector names.

-r, --remove Removes the component files/dependency specification with the provided componentName.

$ mkvue model -r, --remove

This command must be run in the root of the project folder. Note that model names will be turned into Pascal case class names.

-r, --remove Removes the model files/dependency specification with the provided modelName.

2.0.1

2 months ago

2.0.0

6 months ago

1.0.1

3 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.2.1

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

1.0.0

7 years ago