vuestic-admin icon indicating copy to clipboard operation
vuestic-admin copied to clipboard

Installation choice of vue-cli and vite

Open asvae opened this issue 1 year ago • 0 comments

Right now - the only option you're getting when you clone project is vue-cli. That's easy for us to support, but not ideal for our user.

What we instead would want to do is likely to allow a choice of nuxt and vue-cli. Here's a couple reasons why users would prefer to have a choice:

  • Nuxt is higher maintenance cost, but gives good SSR support out of the box. So better suited for content-based and SEO optimized projects.
  • Vue-cli is easier to support, and is good for admin projects, that don't need SSR (which is majority of admin projects).

Here's a couple of ways we can handle this out of my head (we can find more ways on discussion):

  • In github repo keep vue-cli repo as right now. But have a script somewhere that creates fresh nuxt project and reassembles vue-cli repo to fit into nuxt project.
  • Have an installer, list of abstracted pages and configs for vue-cli/nuxt. Installer would create fresh vue-cli/nuxt project, attach pages and apply configs. That way we would keep minimal stuff in repo.
  • [ ] For either of solutions staging is mandatory, so that we can test if something is broken.

asvae avatar Aug 01 '22 23:08 asvae