Client-side Setup

Requirements

  1. Install Node.js and NPM: Download Node.js from https://nodejs.org/en/download/ and install it on your system. NPM comes bundled with Node.js.
  2. Install npm packages: In your terminal, go to your project root directory and run the following command. It will download all the dependencies under node_modules folder.

Installation

Installing Luma Laravel is simple and straight-forward using npm.

Running development server

Run the following command to start the development server. The app will automatically re-build if you change any of the source files.

Production build

Run the following command to build your application for production with webpack and minify the JS & CSS. The build will be stored in the public/ directory.