deable / encore
Simpliest way to use webpack on your nette project.
v1.2.1
2024-05-04 19:46 UTC
Requires
- php: >= 8.0
- ext-json: *
- latte/latte: ^3.0
- nette/application: ^3.1
- nette/di: ^3.0
- nette/utils: ^3.2|^4.0
README
Simple asset loader for webpack or webpack-encore - to include your builded styles and javascripts. Thanks to this library, you can simplify your workflow with the frontend and Nette Framework.
Requirements
This library was developed for PHP 7.3 or newer, designed for Nette Framework version 3.1 or newer.
Installation
The best way to install this library is using Composer:
$ composer require deable/encore
Usage
Add extension to your application configuration:
extensions:
encore: Deable\Encore\EncoreExtension(%wwwDir%)
Example webpack configuration is in example dir.
Contributing
This is an open source, community-driven project. If you would like to contribute, please follow the code format as used in current sources and submit a pull request.