10 Top VueJS Boilerplates for 2020

10 Top VueJS Boilerplates for 2020
10 Top VueJS Boilerplates for 2020 .Boilerplates give you a head start and solid foundation by installing a template for your project. They create a local environment by automatically installing the entire framework needed for the project.

1) Vue Enterprise Boilerplate

This is image title

With 5.4k GitHub Stars, this is one of the most used boilerplates for Vuejs. Created by Vue Core team member Chris Fritz, it is mostly used by larger teams. It better suits enterprise-level applications due to the following reasons:

  1. It contains well-defined layers for a large application.
  2. It includes testing practices and is customizable.
  3. It has an in-built generator to speed up development tasks.
  4. It is well documented for new developers. The documentation describes the setup and development details of Vue Enterprise Boilerplates. The architecture and routing details, state management, mock-ups, and tests for TDD are explained in the document.
  5. It supports linters for Vuejs that helps to keep the code clean.
  6. It supports TDD, Unit tests and end-to-end tests with Jest and Cypress and details the core concepts and best practices in the documentation.
  7. It supports speedy development by allowing you to configure the generators, global base components, and handy aliases.
  8. It describes the troubleshooting tips for common issues during development clearly in the documentation.

2) Electron-nuxt

This is image title

Building a desktop application can be tedious. You need to pay attention to the application architecture along with the installation, packaging, and versioning. Electron-nuxt is a boilerplate to create an Electron app with Vue / Nuxt. Electron is a framework used to create web-like desktop applications with web-like features.

This feature is seen in applications like Slack, the chat application Discord, and even in Microsoft Visual Studio. Electron-nuxt includes features like:

  1. An auto-updating boilerplate for easy development.
  2. Support for typescript but only in the rendering process of the application.
  3. Support for parallel code compilation
  4. Support for unit-testing and end-to-end testing and is configurable during vue-cli scaffolding.
  5. Supports pre-installing UI components and icons like Font Awesome and Material design icon for a quick start and offline usage of the project.
  6. Configuring ESLint.
  7. Installing the latest vue-devtools
  8. Support for CSS preprocessors like Sass, LESS, and Stylus.
  9. Support for light-weight UI components like Buefy, Vuetify, and Element.

3) Vuesion

This is image title

Progressive Web Apps (PWA) are widely used to create comprehensive sites or apps. They are web pages with an app-like appearance. PWA is quick in responding to instructions, loads instantly, and engages users with a natural experience. Vuesion is a boilerplate for production-ready PWA’s. It installs quickly through npx or npm and focuses on best practices and performance during the development and production phases. This MIT licensed project with 2k GitHub Stars displays a live demo on Heroku. Here are some salient features of Vuesion:

  1. Enables scaffolding: Creating components and connecting them to modules is done without much effort. It enables mock APIs and tests for individual components.
  2. Instant display of UI changes: Speedy development occurs when the UX and UI changes are displayed instantly. Vuesion reflects the changes of CSS and typescript instantly without refreshing the page or restarting the servers.
  3. The application state is preserved when updating code.
  4. Documentation: Documents the use-cases in all scenarios, creates SEO documents with hashtags and follows best practices for coding.

4) Nw.js + Vue.cli

Nw.js is a framework used to build desktop applications using HTML, CSS, and Java. It is built on top of Chromium and Node.js. To build Vue applications, you can install the Vue.cli and add NW.js dependencies and NW.js SDK on your Vue project. It has 70 GitHub Stars and is a quick starter boilerplate for Vue applications. Below are the features and advantages of using NW.js in your project:

  1. Easily create and add the NW.js dependencies to your Vue projects.
  2. Documentation is detailed and good to start a project.
  3. It supports protected binaries. This will protect your binaries from hacking or modifications.
  4. Supports customizing stylings using CSS.
  5. It is similar to the Electron Vue boilerplate but has a few differences.
  6. The entry point of the application can easily be modified in the package.json.

5) Electron-Vue

This is image title

Electron-Vue is a widely used boilerplate with 11.6K GitHub Stars. It is interesting to see the GitHub page displaying the list of projects developed on Electron Vue. As the name suggests, it is used to create electron applications for the Vue framework. Electron is an open-sourced library developed to build cross-platform desktop applications. It uses Chromium and Node.js to create single runtime apps. The application runs on various OS platforms like Mac, Windows, and Linux.

Preferred by the developer community, this boilerplate removes the need for manual set-up for Vue projects. Electron can be installed using vue-cli for your Vue projects. Below are the salient features of this boilerplate:

  1. It uses vue-cli for scaffolding, webpack with vue-loader and electron-packager. And is easily customizable and is built with HTML-tags.
  2. It has structured documentation that includes the project structure, code, and snippets for developing an app and unit testing end-to-end testing examples.
  3. Setup starts with a single package.json file.
  4. It utilizes ready-made Vue plugins like Axios, Vue-Electron, Vue-Router and Vuex.
  5. The boilerplate is ready with pre-installed vue-dev tools and devtron tools.
  6. It easily packages the applications using an electron packager or builder.
  7. It uses babili and supports linting using ESLint.

6) Vue.js Starter

This is image title

Vue.js Starter transpiles all javascript files using babel and enables easy debugging using sourcemaps during the development process. It mainly works on server-side rendering which is not seen in other boilerplates. Though the Vue.js starter lacks documentation, it provides a demo application of server-side rendering using vue.js. Below are the advantages of using the Vue.js starter:

  1. Web applications built with server-side rendering have an advantage on SEO. Search engine crawlers have better visibility of pages.
  2. Vue.js starter boilerplates are good for sites working on slow internet or slow devices as it takes less time to load the content that has been updated on the server.
  3. Support for both SCSS or CSS files.
  4. Built-in plugins to speed up the development process.

This can be used where the time-to-content is critical as it gives the best possible initial load performance.

7) Vuetify

This is image title

As the name suggests, Vuetify is used to beautify your Vue projects. With 23.7K Github Stars and generous contributions, it has been in active development since 2016. It boasts a significant list of sponsors on Github and is a Material Design Component Framework and reduces the design effort for Vue projects. These are the advantages of Vuetify.:

  1. Vuetify consists of a total of 82+ components and supports server-side rendering.
  2. Displays design and template for the projects with long term support.
  3. Provides premium themes are RTL layout support.
  4. Automated tree-shaking reduces the bundle size and improves performance.
  5. Follows a weekly release cadence.
  6. It is supported by a vibrant community and links you to this community for any queries.
  7. The official page displays good documentation to get started with Vuetify. It displays examples of pre-made layouts and supports customization according to the required look and feel of the application.
  8. Fully supported by Chromium-based browsers, firefox, Edge, Safari 10+. It works on IE 11 and Safari 9 browsers with polyfills.

8) Vue.wordpress

This is image title

Vue.wordpress is a boilerplate which builds Single Page Applications (SPA) using WP REST API and Vue.js. It is optimized for performance and enables better SEO with server-side rendered pages and content. Its front-end works like a SPA and uses WordPress and WP Rest API to manage back-end content. It has 145 Github Stars and also requires a minimal level of PHP knowledge. The boilerplate builds a demo of a basic website. These are some features that are included:

  1. Extensive documentation.
  2. The front-end and back-end work on the same host, this reduces the burden to configure for CORS and prevents further misconfigurations.
  3. Supports client/server code partitioning to ensure SEO optimization.
  4. Supports libraries like Axios, Vue.js, Vuex, and Vue Router to promote styling, implementation, and dependencies.
  5. Supports adding Hot Module replacement to facilitate replacing modules at runtime without having to reload the entire page.
  6. Integrates component-based REST API fetching and allows REST API caching and batching.
  7. Works on dynamic routing that can be configured in the WP dashboard.

9) Mevn-CLI

This is image title

Mevn-CLI works with the MEVN stack. MEVN stands for MongoDB, Express.js, VueJS, and Node.js. This boilerplate provides a quick start for MEVN stack-based web apps and automatically installs a local environment.

It has 407 Github Stars and the project is licensed under the MIT Licence. These are its main benefits:

  1. Consists of a set of commands and additional utilities to build the MEVN stack.
  2. It allows you to choose the template from a basic Progressive Web App, Nuxt-js and GraphQL templates. These servers are a platform to build your project.
  3. Allows configuration with multiple DBs such as MongoDB / MySQL and mongoose ODM and sequelize ORM.
  4. It allows the application to run within a Docker environment with a single command. Using Mevn-cli you can pull the external docker image to create a local Docker-based environment and launch a local app.
  5. It adds additional packages related to Vue on the go allowing automatic integration with your project.
  6. Uses developer-friendly ES6 syntax, making the code clean and simple.
  7. Modules and component-driven and keep the code clean, readable and compact.
  8. It generates boilerplate code and automates redundant tasks.

10) Vue Skeleton MVP

Vue Skeleton MVP enables you to create Vue applications using Vue.js, Vuetify, Vue router, and Vue skeleton. It is written in Javascript using the async/await function and has 234 Github Stars and provides a link to a demo application. The features of Vue skeleton MVP are to provide a basic template for a quick start.

  1. It uses Vuetify, to enhance the designs using the Material Design component framework.
  2. Has built-in support for Vue router, Vuex, i18n and Google analytics.
  3. The template has a landing page, protected home page, and other pages for essential CRUD operations.
  4. Supports testing with cypress and mocha/chai.
  5. Uses ESlint to adhere to good coding practice and NPM for installing dependencies.
  6. Secures transmission of information using JSON Web Tokens (JWT).
  7. As the boilerplate uses Vue Router with HTML5 History Mode and requires a change in the router’s history mode to enable URL navigation without page reloads.
  8. As it uses Vue-CLI you can set the global configurations in the vue.config.js file. You can also use the Vue config command to inspect or modify the global CLI.

Conclusion

Boilerplates give you a head start and solid foundation by installing a template for your project. They create a local environment by automatically installing the entire framework needed for the project.

While it is a good idea to take a hint from the GitHub Stars when selecting a boilerplate, it is more important to look at the functionality offered by each of them as no one boilerplate suits all projects. Another vital factor to consider is the type of application they support.

Suggest:

Vue js Tutorial Zero to Hero || Brief Overview about Vue.js || Learn VueJS 2023 || JS Framework

Learn Vue.js from scratch 2018

Is Vue.js 3.0 Breaking Vue? Vue 3.0 Preview!

Vue.js Tutorial: Zero to Sixty

Learn Vue.js from Scratch - Full Course for Beginners

Create Shopping basket page With Vuejs and Nodejs