1

I want to set up a fresh Laravel 12 project that uses Vue.js for the frontend.

However, I don’t want to use the new Wayfinder package that comes with Laravel 12.

Instead, I’d like to configure it like the older setup, where Ziggy was used for route handling between Laravel and Vue.

What’s the proper way to install and configure Laravel 12 with Vue without Wayfinder, and use Ziggy instead?

4
  • 4
    Wayfinder is default routing, Ziggy is need to be installed manually. But keep using Wayfinder is recommended, as Ziggy will expose all off your routes in body tag. Commented Nov 3 at 4:40
  • 1
    You may use Inertia in order to bind Vue and Laravel. Ziggy still need a manual install. Be careful about exposition as @parth said. Commented Nov 3 at 9:03
  • You are using this starter kit right? github.com/laravel/vue-starter-kit Commented Nov 5 at 4:48
  • Where did you read that there is a proper way at all? Normally the starter-kit documentations link to alterantives, but I couldn't spot any in regard to Ziggy. Where did you got that from? Commented Nov 9 at 12:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.