Learn how to use Bootstrap’s included npm scripts to build our documentation, compile source code, run tests, and more.
Our package.json includes convenient methods for working with the framework, including compiling code and building it
for production. The template is based on Vue CLI 3 which is a modern tool to build Vue apps. It has numerous plugins and even
a user interface.
We used Vue CLI 3 for Argon. Vue CLI is a very easy and convenient way to develop Vue.js applications. It has great built ins, yet is very customizable based on your own needs. For more info, check out their docs
Argon uses Autoprefixer (included in our build process) to automatically add vendor prefixes to some CSS properties at build time. Doing so saves us time and code by allowing us to write key parts of our CSS a single time while eliminating the need for vendor mixins like those found in v3.
Vue CLI 3 is powered by Webpack and it's great ecosystem. Under the hood, Vue CLI compiles
into something that is understood by the browser with the help of webpack. You can customize the webpack config quite easily with Vue CLI.
For more info check their docs;
Note that there is
.browserlistrc file in the project where you can specify what target browser you aim for.
This way, babel knows what features to convert and what features to not convert. Having a modern browser support (e.g excluding Internet Explorer)
Vue CLI comes along with eslint. You can configure it in the
.eslintrc.js file. Eslint will provide warnings and errors and try to enforce best
npm run lint --fix command.