wireui / wireui

TallStack UI components
https://v1.wireui.dev
MIT License
1.37k stars 167 forks source link

[V2] Unable to locate a class or view for component [wrapper] when using personal wireui prefix. #819

Open BoGnY opened 5 months ago

BoGnY commented 5 months ago

Describe the bug This bug is very strange, because I fix it by removing prefix on all prefixed component in the blade file, and setting config wireui.prefix to null. After manually visiting the page via browser, I can set again wireui.prefix to 'wui-' and replacing back all unprefixed component to prefixed component, and the page works 😵‍💫 .... But I have to do manually on ONE page which have the prefixed component, doing it with one page, it fix same prefixed component on all other pages.

Seems like something is cached, I've runned php artisan optimize:clear which remove all cached files but without success.

To Reproduce Steps to reproduce the behavior:

  1. Upgrade to 2.0
  2. Set wireui.prefix to 'wui-'
  3. Use prefixed component

Expected behavior No errors.

Screenshots or Videos image

Dependencies

Desktop (If applicable, please complete the following information):

Additional context Add any other context about the problem here.

BoGnY commented 5 months ago

Also give the error for Unable to locate a class or view for component [wrapper.switcher].

minhtamwebmaster commented 5 months ago

same issue

levipeto commented 2 months ago

same issue.