deable/encore

Simpliest way to use webpack on your nette project.

v1.2.0 2024-02-02 14:18 UTC

This package is auto-updated.

Last update: 2024-03-31 14:46:04 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.