Closed npmrun closed 1 year ago
找了半天,没找到,加上龟速网络。麻烦您知道的话说一下呗
https://sandpack.codesandbox.io/docs/advanced-usage/hooks#usesandpack
谢谢,我用这个监听到了
const { sandpack } = useSandpack(); watch(()=>sandpack.files, ()=>{ console.log(sandpack.files) })
找了半天,没找到,加上龟速网络。麻烦您知道的话说一下呗