# vuecli-in-docker

Build Status

A Docker image wrapping the Vue CLI so you can use it without the need to install locally using npm/yarn.

You can pull the image from Docker Hub:

docker pull kaizendorks/vue

It simply provides a Node image where the Vue CLI has been installed. This lets you use a container to run any of the CLI commands, by mounting your local folder as a volume.

For example, you can generate a new project inside your current folder using the following command:

docker run --rm -it \
  -v "$(pwd)":/src \
kaizendorks/vue vue create my-app

Now there is a /myapp folder inside your current local folder

cd my-app
ls
# profit!

If you find the command very verbose, create an alias for your favourite shell

Check it on GitHub:

kaizendorks/vuecli-in-docker - GitHub