laravel-mix-atomizer

    0.1.8 • Public • Published

    Laravel Mix Atomizer

    Laravel Mix extension for Atomic CSS support.

    Usage

    1. Start by installing the extension
    npm install laravel-mix-atomizer --save-dev
    
    1. Create an acss.js config file and place it inside the root directory

    Note: the destination file is needed in this file

    module.exports = {
        cssDest: './resources/utilities.css'
        ...
    }
    1. Require the package within your webpack.mix.js file
    let mix = require('laravel-mix');
     
    require('laravel-mix-atomizer');
     
    mix.atomize('path/to/html/root' /* default is 'public' */);
    1. Run npm run dev to compile everything down.

    Install

    npm i laravel-mix-atomizer

    DownloadsWeekly Downloads

    25

    Version

    0.1.8

    License

    MIT

    Unpacked Size

    2.34 kB

    Total Files

    3

    Last publish

    Collaborators

    • ronnow