Vue-cli: Template repository

Created on 3 Nov 2016  路  16Comments  路  Source: vuejs/vue-cli

We have not only "official" vuejs templates, what about a repository for vuejs-templates?

discussion

Most helpful comment

@nickmessing

  1. There is no quick way to see if it's still maintained
  2. There is no quick way to see if the dependencies are up-to-date
  3. I can't see the popularity of each (at least github stars) without opening each of them and manually sorting.

I guess your such web app is also suitable for Vue components 馃槄

All 16 comments

This would mean we'd need to change vue-cli and make it compatible for every git hosting vendor. Currently we use this convention that each template is a single repo with template directory in it.

Why do you think would be beneficial to have multiple templates in one repository? I understood your comment that you're suggesting this.

I think he asking to have a list of nonofficial templates with the list command too or another command

@zigomir, @posva, I suggest making at least a web app, something like templates.vuejs.org where would be a list of all official and unofficial boilerplates for vue js, if @yyx990803 likes this idea I can make an app for that.

P.S. The problem I see right now is the lack of "vue+vuex+vue-router+whatever-people-use" template. I found a template only after making a PR to templates/webpack repo to add vuex and vue-router, at least an MD file would help (but I guess it's better to have a web app that tracks things like stars, last commit date and dependency versions)

@nickmessing eh, I think searching over github would find most of the vuejs templates

@egoist, isn't a curated list a better solution?

Like this one? https://github.com/vuejs/awesome-vue#boilerplates

We could seperate the Boilerplates from the vue-cli compatible templates, maybe.

@LinusBorg, yes, that's exactly the place I started from, but:

  1. There is no quick way to see if it's still maintained
  2. There is no quick way to see if the dependencies are up-to-date
  3. I can't see the popularity of each (at least github stars) without opening each of them and manually sorting.

So, for example, I start a project using a boilerplate, then I find out that it's built on Vue 1.

A nicely curated list would be nice. If you have time to build something, the contribution would be welcome.

OFFTOPIC: @LinusBorg, check your profile description, "...hobby fronend hacker..."

@nickmessing that sounds like a great idea. Would be happy to feature it in the vue-cli readme or even help messages.

@nickmessing

  1. There is no quick way to see if it's still maintained
  2. There is no quick way to see if the dependencies are up-to-date
  3. I can't see the popularity of each (at least github stars) without opening each of them and manually sorting.

I guess your such web app is also suitable for Vue components 馃槄

@egoist, yep, right, I didn't use community components so I didn't even think about it :D.

@nickmessing I've done some work in the past on a similar idea for a template repository. It's quite incomplete but I could tackle this if you haven't already started work on it.

@FadyMak, I've finished back-end with Github API integration, nothing done on fronend yet

well, I kinda use vue-cli on non-vue projects because it just works. What would be nice to have is a command like:

$ vue list --templates 'http://<source>.feed'

that could just display user/repo info to copy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eladcandroid picture eladcandroid  路  3Comments

PrimozRome picture PrimozRome  路  3Comments

JIANGYUJING1995 picture JIANGYUJING1995  路  3Comments

b-zee picture b-zee  路  3Comments

jgribonvald picture jgribonvald  路  3Comments