Skip to content

feat: add copy button for stacktrace#260

Merged
antfu merged 3 commits intovitejs:mainfrom
JianJroh:feat/logs-stacktrace-copy-button
Mar 25, 2026
Merged

feat: add copy button for stacktrace#260
antfu merged 3 commits intovitejs:mainfrom
JianJroh:feat/logs-stacktrace-copy-button

Conversation

@JianJroh
Copy link
Copy Markdown
Contributor

Description

Easier to copy the full stack trace.

2026-03-24 150516

@JianJroh JianJroh force-pushed the feat/logs-stacktrace-copy-button branch from 6d2966f to 7240a00 Compare March 24, 2026 07:34
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 24, 2026

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@260

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@260

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@260

@vitejs/devtools-rpc

npm i https://pkg.pr.new/@vitejs/devtools-rpc@260

@vitejs/devtools-self-inspect

npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@260

commit: 756fd67

<script setup lang="ts">
import type { DevToolsLogEntry, DevToolsLogEntryFrom, DevToolsLogLevel } from '@vitejs/devtools-kit'
import type { DocksContext } from '@vitejs/devtools-kit/client'
import { UseClipboard } from '@vueuse/components'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid using this package, but the clipboard compsoable from @vueuse/core instead? Thanks

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Updated.

@antfu antfu merged commit 32addfa into vitejs:main Mar 25, 2026
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants