laravel-ziggy-generator-webpack
v0.1.0
Published
Webpack plugin that generates ziggy file for laravel routes
Downloads
3
Maintainers
Readme
Laravel Ziggy Generator Webpack
This webpack plugin allow you to keep updated your laravel ziggy routes. This is a wrapper for webpack around Tighten's ziggy.
Requirements
Usage
Install ziggy (see his repo for more info)
composer require tightenco/ziggy
Install laravel-ziggy-generator-webpack
//npm
npm install laravel-ziggy-generator-webpack --save
//yarn
yarn add laravel-ziggy-generator-webpack
Add to your webpack config
const LaravelZiggyGenerator = require('laravel-ziggy-generator-webpack')
...
plugins: [
new LaravelZiggyGenerator
]
...
Licence
Under MIT