Open ncphillips opened 6 years ago
Agreed, create static site should use external projects for the templates.
However, to keep setup simple, it would be ideal if create-static-site asked you to choose a template and provided you with a list of external URLS for the top templates. For example:
Please pick a template (use arrow keys):
Hugo (https://github.com/path-to-hugo-template)
> Jekyll (https://github.com/path-to-jekyll-template)
Gatsby (https://github.com/path-to-gatsby-template)
Other
^ Choosing "Other" would prompt you to paste in a path to your template.
Curious if @chrisdmacrae has any thoughts here.
This is inspired by Vue CLI
When running
create-static-site
the user should be able to pass in a URL for the templatestatic-scripts init
should grab the template project from that URLThe existing options
hugo
andjekyll
should be aliases to URLs.This will make it possible for other templates to be created without changing this project. It will also reduce the size of the
static-scripts
NPM package.