We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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')) }
The text was updated successfully, but these errors were encountered:
You should use vue 3 inject. I've create a PR #785 to note that inside the docs
inject
Sorry, something went wrong.
bakerkretzmar
No branches or pull requests
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'))
}
The text was updated successfully, but these errors were encountered: