hocza / laravel-mix-without-laravel

Even simpler asset manipulation than with Laravel Elixir. Highly recommended for beginners.

Home Page:https://laravelista.com/lessons/laravel-mix-without-laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Mix Without Laravel

In my tutorial called Laravel Elixir Without Laravel we have gone over installing Laravel Elixir, configuring it to match our custom folder structure and adding tasks.

In this lesson we will do the same thing, but with Laravel Mix. We will create a custom non-Laravel project, install Laravel Mix and make it handle our assets.

Installation

To install all dependencies:

npm install

Usage

Run all tasks:

npm run dev

Run all tasks and minify:

npm run production

Run all tasks and watch for changes:

npm run watch

About

Even simpler asset manipulation than with Laravel Elixir. Highly recommended for beginners.

https://laravelista.com/lessons/laravel-mix-without-laravel


Languages

Language:JavaScript 94.0%Language:CSS 6.0%