Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vu3 Composition api #768

Open
hasanablak opened this issue Jul 31, 2024 · 0 comments
Open

Vu3 Composition api #768

hasanablak opened this issue Jul 31, 2024 · 0 comments

Comments

@hasanablak
Copy link
Contributor

Can we add any example inside to docs for usage when we use vue3 composition api?

I'am using like that;

import { useRoute } from 'ziggy-js';
import { Ziggy } from '../ziggy';

...

const route = useRoute(Ziggy);

...

async function abc(){
await axios.get(route('api.notification.count'))
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant