onny / hmr_enabler

Development app to enable apps to use hot module reloading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nextcloud HMR Enabler

PHPUnit GitHub Action Lint GitHub Action

This app unblock hot module replacement requests for webpack apps.

Try it

To install it change into your Nextcloud's apps directory:

cd nextcloud/apps

Then run:

git clone https://github.com/nextcloud/hmr_enabler.git

Install the dependencies using:

make composer

Use in your app

To use HMR in your app, use the @nextcloud/webpack-vue-config. Afterwards add a line like the following to your scripts in package.json:

"serve": "webpack serve --node-env development --allowed-hosts all",

About

Development app to enable apps to use hot module reloading

License:GNU Affero General Public License v3.0


Languages

Language:PHP 88.7%Language:Makefile 11.3%