Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nystudio107/craft-twigpack

Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support
https://github.com/nystudio107/craft-twigpack

asset craft-plugin craftcms hmr-support manifest-json mix revision twig webpack webpack-dev-server

Last synced: 3 days ago
JSON representation

Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support

Awesome Lists containing this project

README

        

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/badges/quality-score.png?b=v5)](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/?branch=v5) [![Code Coverage](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/badges/coverage.png?b=v5)](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/?branch=v5) [![Build Status](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/badges/build.png?b=v5)](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/build-status/v5) [![Code Intelligence Status](https://scrutinizer-ci.com/g/nystudio107/craft-twigpack/badges/code-intelligence.svg?b=v5)](https://scrutinizer-ci.com/code-intelligence)

# Twigpack plugin for Craft CMS 5.x

Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support

![Screenshot](./docs/docs/resources/img/plugin-logo.png)

Related Article: [An Annotated webpack 4 Config for Frontend Web Development](https://nystudio107.com/blog/an-annotated-webpack-4-config-for-frontend-web-development)

## Requirements

This plugin requires Craft CMS 5.0.0 or later.

## Installation

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

cd /path/to/project

2. Then tell Composer to load the plugin:

composer require nystudio107/craft-twigpack

3. Install the plugin via `./craft install/plugin twigpack` via the CLI, or in the Control Panel, go to Settings → Plugins and click the “Install” button for Twigpack.

You can also install Twigpack via the **Plugin Store** in the Craft Control Panel.

## Documentation

Click here -> [Twigpack Documentation](https://nystudio107.com/plugins/twigpack/documentation)

## Twigpack Roadmap

Some things to do, and ideas for potential features:

* Release it

Brought to you by [nystudio107](https://nystudio107.com/)