deable/encore

Simpliest way to use webpack on your nette project.

v1.2.1 2024-05-04 19:46 UTC

This package is auto-updated.

Last update: 2024-12-04 21:11:40 UTC


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.