NateCross / comelec-system

0 stars 1 forks source link

Got restructure to work #5

Closed NateCross closed 1 year ago

NateCross commented 1 year ago

The restructure did not work off the bat. I had to symlink the resources folder inside the server to work. Then, had to change the way assets are served since it does not seem that the use of the {{ asset() }} directive is supported anymore, instead using @vite as per this page of the Laravel documentation. Besides that, everything still seems to work as intended.

On continuing this branch, note however that while API routes are there, the web routes are not yet there. Setting up a test route would do for the time being.