Skip to content

Commit

Permalink
feat(server-routes): open route in editor button (#189)
Browse files Browse the repository at this point in the history
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
  • Loading branch information
arashsheyda and antfu committed Apr 18, 2023
1 parent 4be0a97 commit c0cbfdb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/devtools/client/components/ServerRouteDetails.vue
Expand Up @@ -218,6 +218,13 @@ const methods = ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD']
<NIcon icon="carbon:code" />
Fetch Snippet
</NButton>
<div flex-auto />
<NButton
icon="carbon-launch"
@click="openInEditor(route.filepath)"
>
Open in Editor
</NButton>
</div>
<div
v-if="activeTab === 'params'"
Expand Down

0 comments on commit c0cbfdb

Please sign in to comment.