Skip to content

Hook problems when using Svelte #60

Answered by lisonge
maxchang3 asked this question in Q&A
Discussion options

You must be logged in to vote

there is a compilation cache in vite. When the second visit, there should be no need to compile

can you show me example vite project ?


or maybe you can use dynamic import

// main.ts
do_hook();
import(`./App.svelte`);

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@maxchang3
Comment options

@lisonge
Comment options

@maxchang3
Comment options

Answer selected by maxchang3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants