WireUI
Troubleshooting

This page contains common issues encountered with WireUI and their solutions.
If you haven't found the problem you are trying to fix, review the Issues page at the WireUI GitHub repository.
In case your problem has not been discussed there, feel free to open a new Issue, informing as many details as possible.

Version Update

If you have recently updated WireUI and are facing issues, make sure to read the specific information for your version before proceeding in this section.

To stay informed about WireUI's latest news, follow the author @ph7jack on Twitter.

WireUI not using https

If your assets (scripts, css files) are loaded with http:// instead of https://, you may try the following steps:

1. Make sure the `APP_URL` inside your .env file is set with https prefix.

1APP_URL=https://example.com

2. Run the command below to clear Laravel's cache:

php artisan optimize:clear
Tailwind-forms

If you have encountered the error TypeError: require(...) is not a function, you must update your Tailwind-Forms to "^0.3.0". This is often the case with Laravel Breeze installation.

Error:

ERROR in ./resources/css/app.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
TypeError: require(...) is not a function
...
1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 2 errors

Solution:

Modify your Tailwind-forms version and then, run npm update command.

1"devDependencies": {
2 "@tailwindcss/forms": "^0.3.0",
3 //..
4}