/laravel-polymer-webpack-preset

A skeleton repository to help users to create their own presets.

Primary LanguageHTML

Laravel 5.5.x front-end preset for Polymer

This package makes it easy to use Polymer 2.x starter kit (webpack version) with Laravel 5.5+.

Contents

Installation

To install this preset on your laravel application, simply run:

composer require jlndk/laravel-polymer-webpack-frontend-preset

In Laravel 5.5+ this package should be discovered automatically, but if you for some reason want to register it manually add this line to the service provider array in config/app.php.

Jlndk\PolymerWebpackPreset\PolymerPresetServiceProvider::class,

Usage

Notice: It is only recommended to run this package once and only on a fresh laravel installation. It is not our responsibility if you loose existing data.

This package ships with two presets. One with authentication scaffolding specifically made for laravel, and one without. To use the one without simply run:

php artisan preset polymer

To use the one with authentication scaffolding run:

php artisan preset polymer-auth

Contributing

Please check our contributing rules in our website for details.

Credits

License

The MIT License (MIT).