Nextcloud HMR Enabler
May 1, 2023 ยท View on GitHub
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",