Code Monkey home page Code Monkey logo

laravel-mix-docs's Introduction

laravel-mix-docs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-mix-docs's Issues

Laravel mix webpack config extension

Laravel mix extension that adds a function to listen to config readiness. And give access to the object and the circularStringify() function. So people can do anything with it including writing the config to a file. At the same time, it does patch dump() and dumpWebpackConfig() to support the same callback as extra.

https://github.com/MohamedLamineAllal/laravel-mix-webpack-config#readme

https://www.npmjs.com/package/laravel-mix-webpack-config

npm published and tested.

laravel-mix-wp-blocks is now @tinypixelco/laravel-mix-wp-blocks

Greetings!

I am the maintainer of kellymears/laravel-mix-wp-blocks. Which is listed as an entry on the laravel mix docs site. Thanks for including it.

I transitioned this package to the @pixelcollective github some time ago, and have made a couple valuable updates to the package since then. I'm hoping to get it updated on the docs.

This package is now published as @tinypixelco/laravel-mix-wp-blocks. The associated repo is pixelcollective/laravel-mix-wp-blocks. It's most recent version is v1.1.0.

Thanks again!

Extension: laravel-mix-svg-vue

I've created an extension to automatically use optimized SVG's via SVGO with Vue.js. One benefit compared to similar solutions is, that no wrapping html element is added around the inlined SVG.

Title: Laravel Mix SVG Vue
Description: Extension to inline SVG files with Vue.js and optimize them automatically with SVGO.
Installation: npm i laravel-mix-svg-vue
GitHub Repo: https://github.com/danielstgt/laravel-mix-svg-vue
NPM: https://www.npmjs.com/package/laravel-mix-svg-vue

Would appreciate a listing of the extension on your page.

TypeError: compiler.plugin is not a function

When I was trying to to use LiveReload, I got error TypeError: compiler.plugin is not a function
webpack.mix.js :

const mix = require('laravel-mix');
const LiveReloadPlugin = require('webpack-livereload-plugin');
mix.js('resources/react/app.js', 'public/js')
    .react()
    .sass('resources/sass/app.scss', 'public/css')
    .webpackConfig({
        plugins: [new LiveReloadPlugin()]
    });

The error was because of version 1 in npm install webpack-livereload-plugin@1 --save-dev , like in the documentation.
I installed the latest version and got no error
npm install webpack-livereload-plugin --save-dev

Question: What theme do you use?

Your documentation site looks really elegant. I was wondering if you would mind sharing the theme you used, if its open source as well.

Mix extension: laravel-mix-eslint-config

I've made a more modular/configurable version of the laravel-mix-eslint extension.

at: https://www.npmjs.com/package/laravel-mix-eslint-config

The major difference is for the previous package you could only pass in the config.options key, if you wanted to customize for react or something else...like pass in js,vue,jsx to the config.test you couldn't. This updated version let's you modify the entire config object for eslint-loader.

You can also specify which plugins to use for eslint (vue|react) and it'll add those as dependencies.

Laravel Mix Serve plugin

A new plugin that can run custom serve commands, and of course by default runs the php artisan serve command.

It runs after compilation and within the same shell.

Users can configure whether to include or exclude the output from the server. In case they are not interested in the server output and do not want to lose sit of their compiled mix output.

They can even configure for the output to be logged once to solely retrieve the first output, which in the case of Laravel is to see the output that the server has started.

See my package on github and npm in the links below:
https://github.com/mikesaintsg/laravel-mix-serve
https://www.npmjs.com/package/laravel-mix-serve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.