alexisgeneau/polyvel

Install Polymer into Laravel application
38 4
Install
composer require alexisgeneau/polyvel
License:MIT
Last Updated:Oct 20, 2015
Links: GitHub  ·  Packagist
Maintainer: alexisgeneau

Polyvel

Installation

Add Polyvel to your composer.json file to require Polyvel :

    require : {
        "alexisgeneau/polyvel": "dev-master"
    }

Update Composer :

    composer update

The next step is to add the service provider to config/app.php :

    Alexisgeneau\Polyvel\PolyvelServiceProvider::class,

Publish

The next step is to publish files in your application with :

    php artisan vendor:publish --force

Warning ! This command will replace 'package.json' in your application, but is required to use the package.

NPM

Next, you have to install npm packages:

    npm install

Bower

The last step is to run bower:

     bower install

Now, you can use Polymer's elements in your application. You can verify by going at route '/polymer' in your browser.

Related Packages

spatie/laravel-google-fonts

Manage self-hosted Google Fonts in Laravel apps

1,282,593 495
tightenco/jigsaw

Simple static sites with Laravel's Blade.

460,939 2,252
roquie/laravel-dusk-select2

Select2.js support for the Laravel Dusk testing.

363,161 41
haruncpi/laravel-log-reader

A simple and beautiful laravel log reader

339,016 380
laravel-frontend-presets/argon

Laravel 9.x Front-end preset for argon

255,976 232