Socket
Book a DemoInstallSign in
Socket

laravel-mix-stylus

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-mix-stylus

Laravel Mix fork with Stylus support.

0.3.0
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Watch Dependencies

Introduction

This project is a fork from the original Laravel Mix.

Laravel Mix provides a clean, fluent API for defining basic Webpack build steps for your Laravel application. Mix supports several common CSS and JavaScript pre-processors.

If you've ever been confused about how to get started with module bundling and asset compilation, you will love Laravel Mix!

Basic Installation

Require laravel-mix-stylus and copy the example config files to your project root.

mkdir my-app && cd my-app
npm init -y
npm install laravel-mix-stylus --save-dev
cp -r node_modules/laravel-mix-stylus/setup/** ./

Add the following scripts on your package.json file.

"scripts": {
	"webpack": "cross-env NODE_ENV=development webpack --progress --hide-modules",
	"dev": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules",
	"hmr": "cross-env NODE_ENV=development webpack-dev-server --inline --hot",
	"production": "cross-env NODE_ENV=production webpack --progress --hide-modules"
}

Now you can use stylus by adding this code on your webpack.mix.js file:

mix.stylus('path/to/app.styl', 'dist');

Documentation

You may review the initial documentation here on GitHub.

License

Laravel Mix is open-sourced software licensed under the MIT license.

Keywords

laravel

FAQs

Package last updated on 09 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.