Skip to content

sahakyan-dev/Webpack4-VueCLI-advanced-template

Repository files navigation

Webpack4 VueCLI advanced setup and config

Sass · Babel · Bootstrap4 · Webpack4 · Webpack Dev Server · jQuery 3.3.1 · Popper.js · ESLint · SASS · Vue2 · Axios · Interceptor

Getting Started

Requirements

  • Please make sure you have NodeJS installed, as this contains npm, which is necessary for installing dependencies, starting the appropriate scripts, and building your web project.

Quick Start

Clone the repo:

git clone https://github.com/sahakyan-dev/Webpack4-VueCLI-advanced-template.git

Navigate to the project folder:

cd Webpack4-VueCLI-advanced-template

Install dependencies

npm install

Serve with hot reload at localhost:8080

npm run dev

Build for production with minification

npm run build

Build for production and view the bundle analyzer report

npm run build --report

Run unit tests

npm run unit

Run e2e tests

npm run e2e

Run all tests

npm test

Run ESLint test

npm run lint

Fix ESLint bugs

npm run lint:fix

Licence

Code released under the MIT License.