npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-cli-template-registry

v2.0.2

Published

*a solution for installing vue-cli custom templates hosted on private/enterprise repositories*

Downloads

9

Readme

vue-cli-template-registry

a solution for installing vue-cli custom templates hosted on private/enterprise repositories

NPM

overview

this is a command-line tool that enables the usage of vue-cli custom templates hosted on private/enterprise repositories [1].

it stores the templates locally, so we can install them from a local path. for example:

vue init ~/.vue-cli-templates/my-awesome-template my-app

setup

choose your preferred method:

none!

for a one-time installation of an arbitrary custom template, no setup is required. skip ahead to the usage section for more details.

via NPM

this is the most convenient choice when you're dealing with multiple custom templates.

npm i -g vue-cli-template-registry

manual

if you don't use NPM, or you're just into typing stuff, you can manually copy the registry script to your local bin directory:

curl -L -f -O https://raw.github.com/eliranmal/vue-cli-template-registry/master/bin/registry.sh
install -v -m 0755 ./registry.sh /usr/local/bin/vue-cli-template-registry
rm -v ./registry.sh

usage

if you chose to skip the setup, you can use a single command line to fetch and run the registry [2]:

curl -Lsf https://raw.github.com/eliranmal/vue-cli-template-registry/master/bin/registry.sh | bash -s install <awesome-cli-template>

:ok_hand: tip: building your own custom template? add this one-liner to the readme page.

if you followed the setup, you will find the vue-cli-template-registry command available in the terminal.
it can be run with the same arguments [2]:

vue-cli-template-registry install <awesome-cli-template>

the first argument is the registry command, and can be either install, uninstall or update.
the second is for passing the custom template source, either in the form of a github clone URL, or a local path.

for more details use the -h flag.

notes

  1. at the time of writing, vue-cli does not work for such repositories (see this issue). if/when this issue is resolved, vue-cli-template-registry will become obsolete.
  2. make sure to replace <awesome-cli-template> with your custom template clone URL (or local path).