Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (25 loc) · 1.59 KB

README.md

File metadata and controls

29 lines (25 loc) · 1.59 KB

Starter pack for building production ready Vue applications.

Features

  • Based on the latest Vue CLI 3.0 template
  • Router - just add new routes
  • Vuex - just add new store modules
  • i18n - just add new languages/entries
  • Services - pattern for encapsulating the API calls
  • NProgress - progress bar for navigation
  • Reactive cookies - see vue-reactive-cookie
  • SASS/SCSS styles loading (available in all components)
  • Friendly directory structure
  • Prettier
  • Editor config
  • Common git settings

Commands

  • npm run serve - run the application in development mode
  • npm run build - build the application for deployment (dist folder; it uses by default the modern feature of the build plugin)
  • npm run analyze-bundle - build and generate the bundle report

Why another starter template?

It's true that we already have a lot of options for getting started with Vue (or any other js framework for that matter) which is both amazing and overwelming. However, everytime I started a project, I found myself setting up pretty much the same environment which I know I can rely on. This is my battle-tested environment and I am sure it will provide a solid foundation for your work too.

Misc

You might also want to give Vue CLI UI a try. It's really cool. You will need to install the Vue CLI: npm install -g @vue/cli (if you are on UNIX systems admin rights might be required) Execute the command vue ui which will open the Vue UI in the browser where you can Import the project (it's easier if you run the command in the project's root directory).