slidev icon indicating copy to clipboard operation
slidev copied to clipboard

fix: `<style>` tag HMR

Open kermanx opened this issue 1 week ago • 2 comments

pluginVue.transform(mainModule) must be called before pluginVue.load(styleModule) to update the internal cache of @vitejs/plugin-vue. Otherwise, the style module will be reloaded as the previous one.

kermanx avatar Dec 10 '25 12:12 kermanx

Deploy Preview for slidev failed.

Name Link
Latest commit 7b906a4b0e81fa39c48a936768c4d6636602a0e2
Latest deploy log https://app.netlify.com/projects/slidev/deploys/69396dda4deb4900088faede

netlify[bot] avatar Dec 10 '25 12:12 netlify[bot]

Open in StackBlitz

@slidev/client

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/client@2404
create-slidev

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev@2404
create-slidev-theme

npm i https://pkg.pr.new/slidevjs/slidev/create-slidev-theme@2404
@slidev/parser

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/parser@2404
@slidev/cli

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/cli@2404
@slidev/types

npm i https://pkg.pr.new/slidevjs/slidev/@slidev/types@2404

commit: 7b906a4

pkg-pr-new[bot] avatar Dec 10 '25 12:12 pkg-pr-new[bot]