Download the PHP package chialab/rna-cakephp without Composer
On this page you can find all versions of the php package chialab/rna-cakephp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download chialab/rna-cakephp
More information about chialab/rna-cakephp
Files in chialab/rna-cakephp
Package rna-cakephp
Short Description A CakePHP plugin to seamlessly integrate with @chialab/rna build artifacts.
License MIT
Homepage https://github.com/chialab/rna-cakephp
Informations about the package rna-cakephp
RNA plugin for CakePHP
A CakePHP plugin to seamlessly integrate with @chialab/rna build artifacts.
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
You must load the plugin into your CakePHP application by loading it in your application class bootstrap
method:
Usage
RNA Helper
Load the helper in your view class:
Then use it in your templates:
-
To inject the code generated by the dev server (only when
debug
is on): - To load resources:
Migrate from Symfony Encore
Follow this instructions to migrate from a Webpack Encore based configuration:
- Create a
rna.config.js
file in the root of yuor project. -
Define entrypoints
-
Extend the RNA configuration
- Remove
@symfony/webpack-encore
,webpack
and webpack loaders `