Closed qbixx closed 1 year ago
Could you reupload the screenshot please? It seems to be bugged and not loading.
This probably is because of an issue in combination with Vue3.
This might be the culprit. The Statamic CMS control panel is based on Vue 2
Sorry, I uploaded the image below:
I am not sure if this relates to this addon at all. Are you compiling this addons assets to setup a dev environment for developing this addon? Or are you compiling something in your project (e.g. custom fieldtype)?
You need to use Vue 2 if you are creating custom fieldtype components.
Closing for now as this does not seem related to this addon.
Also, thanks to you I realized that front-end assets had not be compiled in this repository, which I sorted just now!
Bug description
When compiling the assets for production with
npm run production
the page doesn't load and only a white screen is visible. This probably is because of an issue in combination with Vue3.When looking at the console log, I get the following error:
![Uploading Screenshot 2022-10-24 at 17.22.25.png…]()
How to reproduce
I'm using the following packages:
TailwindCSS: 3.0.19 Vue: 3.2.31
When running
npm run watch
ornpm run develop
everythings works fine. However when runningnpm run production
the error appears.Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
regex (default)
Additional details
No response