alexisgeneau / Polyvel by alexisgeneau

Install Polymer into Laravel application
38
4
3
Package Data
Maintainer Username: alexisgeneau
Maintainer Contact: contact@alexis-geneau.fr (Alexis Geneau)
Package Create Date: 2015-10-20
Package Last Update: 2015-10-20
Language: HTML
License: MIT
Last Refreshed: 2024-11-25 15:06:08
Package Statistics
Total Downloads: 38
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

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.