TiagoSilvaPereira / vemto2-issues

Repository to track Vemto 2 Issues
5 stars 0 forks source link

The APP menu and the filament resources are not generated #133

Closed vimitali368 closed 6 months ago

vimitali368 commented 6 months ago

After generating the code. I run the "npm run build" commands. "php artisan serve". But the application menu does not appear. image

vimitali368 commented 6 months ago

Here are my settings: image image image image

TiagoSilvaPereira commented 6 months ago

@vimitali368 please check files with conflicts (probably app.layout.blade was not generated due to a conflict)

vimitali368 commented 6 months ago

After press button "Generate code", I take this message: image

vimitali368 commented 6 months ago

Routes are created and work: GET|HEAD dashboard ................... GET|HEAD dashboard/projects .......... GET|HEAD dashboard/projects/create ... GET|HEAD dashboard/projects/{project} GET|HEAD dashboard/users ............. GET|HEAD dashboard/users/create ...... GET|HEAD dashboard/users/{user} ......

vimitali368 commented 6 months ago

http://127.0.0.1:8000/dashboard/users image

TiagoSilvaPereira commented 6 months ago

@vimitali368 Please check for conflicts on the Files Queue:

image

It is very common to have conflicts with the app.blade.php file (or layout.blade.php).

In future Vemto versions, I'll change them to avoid having conflicts if this is a newly created application. But for now, Vemto generates a conflict (because those files already exist), and you need to solve them manually (you can accept the Vemto-generated version or merge the code if necessary). For files you don't want to solve conflicts, instruct Vemto to ignore them.

vimitali368 commented 6 months ago

There are no conflicts: image

app.layout.blade There is no such file. In file "\resources\views\navigation-menu.blade.php" the "App" item is missing.

vimitali368 commented 6 months ago

Since this is a new project, I can share a project or folder ".vemto"

TiagoSilvaPereira commented 6 months ago

@vimitali368 please check if both those files were rendered:

image

And if app.layout.php has the following line of code:

image

vimitali368 commented 6 months ago

I created the same project from scratch on Vento version 2.0.12. When generating, I get an error: image

vimitali368 commented 6 months ago

These three files had the attributes "Read-only" and "Archived". By removing these attributes, the generation was successful.

vimitali368 commented 6 months ago

Now the result is obtained: image But also have black menu, how in ticket https://github.com/TiagoSilvaPereira/vemto2-issues/issues/114 image

vimitali368 commented 6 months ago

The dark theme is related to the Windows theme settings. After selecting a light theme in Windows, the theme of the top menu of the web application has also changed. image

TiagoSilvaPereira commented 6 months ago

@vimitali368 Perfect. I'm closing this for now, as the issue has been solved. Also, please upgrade to 2.0.13 to avoid permission issues. Please feel free to open other issue or reopen if necessary