/webpack-laravel-template

Usage Webpack with CMS Laravel

Primary LanguageJavaScript

Webpack-Laravel-template

Build setup

  1. Install NodeJS;
  2. Install the NPM dependencies by running npm install or yarn.

Usage

NOTE: Above all you should configure Open Server or another local server.

  • npm run dev or yarn run dev runs your project in the development mode once;
  • npm start or yarn start runs your project in the development mode on the local server;
  • npm run build or yarn run build builds your project for production;
  • npm run stats or yarn run stats analyses your project;
  • npm run lint:js or yarn run lint:js checks your JavaScript for errors and warnings;
  • npm run lint:sass or yarn run lint:sass checks your styles for errors and warnings;