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

Go to server routes / api routes based on fetch method #26

Open
3 tasks done
zhaolinlau opened this issue Dec 26, 2024 · 0 comments
Open
3 tasks done

Go to server routes / api routes based on fetch method #26

zhaolinlau opened this issue Dec 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zhaolinlau
Copy link

Clear and concise description of the problem

When I click the /api/tasks as below, it should open the server/api/tasks/index.post.js in new tab, but it didn't.

$fetch('/api/tasks', {
method: 'post'
})

Suggested solution

When I click the /api/tasks as below, It will open the server/api/tasks/index.post.js in new tab

$fetch('/api/tasks', {
method: 'post'
})

Alternative

No response

Additional context

No response

Validations

@zhaolinlau zhaolinlau added the enhancement New feature or request label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant