Downloading template from npm registry
See original GitHub issueCurrently something like vue init webpack
will make vue-cli download git repo vuejs-template/webpack
, I thought instead we can make it download from npm registry if the template name does not contain /
. For example vue init webpack
would install package vue-template-webpack
, thus everyone can type less to generate from their own template 🤗 just like sao
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
templates - npm
System for creating and managing template collections, and rendering templates with any node.js template engine.
Read more >HOWTO: Inspect, Download and Extract NPM Packages
This post outlines how to inspect the registry information of an NPM package using the npm view command, download an NPM package directly ......
Read more >Installing the Reference Template - Conga Product Documentation
After cloning a template, the first task is to run the npm install command. For this, you must have access to the npm...
Read more >npm packages in the Package Registry - GitLab Docs
Learn how to build an npm or yarn package. Watch a video demo of how to publish npm packages to the GitLab Package...
Read more >Installing private npm modules · Gemfury Dev Center
Install packages via command-line. You can use your Registry URL to install packages individually. First, you need to configure npm authentication to enable ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah we don’t intend to change anything about the
init
feature in the foreeable future as we see it as a legacy feature. We focus on the new plugin-base approach ofvue create
@LinusBorg it’s more or less the same as we do now:
I was curious if there was a better way.
Something like
vue init npm@my-template my-project
would be nice and because it’s using NPM we can have a private package manager in.npmrc
If it’s overkill I guess git clone or using the node_modules folder will do.
Thank you!