Download the PHP package terminal42/contao-webpack-encore without Composer
On this page you can find all versions of the php package terminal42/contao-webpack-encore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download terminal42/contao-webpack-encore
More information about terminal42/contao-webpack-encore
Files in terminal42/contao-webpack-encore
Package contao-webpack-encore
Short Description Adds Symfony Webpack Encore integration to Contao page layouts.
License MIT
Homepage https://github.com/terminal42/contao-webpack-encore
Informations about the package contao-webpack-encore
terminal42/contao-webpack-encore
terminal42/contao-webpack-encore is an extension for the Contao CMS.
It allows you to integrate Encore entrypoints into Contao, either through the page layout, through .html5-Template methods or through insert tags.
If you use Twig templates, you can use the regular Symfony Encore Bundle features.
Installation
Choose the installation method that matches your workflow!
Installation via Contao Manager
Search for terminal42/contao-webpack-encore in the Contao Manager and add it
to your installation. Apply changes to update the packages.
Manual installation
Add a composer dependency for this bundle. Therefore, change in the project root and run the following:
Depending on your environment, the command can differ, i.e. starting with php composer.phar … if you do not have
composer installed globally.
Then, update the database via the contao:migrate command or the Contao install tool.
Configuration
The Contao Manager Plugin will automatically try to detect an entrypoints.json in your public web directory.
If none is found, or you would like to manually configure it, adjust the Symfony webpack_encore.output_path
accordingly: https://symfony.com/bundles/WebpackEncoreBundle/current/index.html
License
This bundle is released under the MIT license
All versions of contao-webpack-encore with dependencies
ext-json Version *
contao/core-bundle Version ^4.9 || ^5
symfony/webpack-encore-bundle Version ^1.12 || ^2.2
symfony/finder Version ^4 || ^5 || ^6
symfony/filesystem Version ^4 || ^5 || ^6