alexisgeneau/polyvel
Composer 安装命令:
composer require alexisgeneau/polyvel
包简介
Install Polymer into Laravel application
README 文档
README
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.
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-20