New user #use issues
dirk-bester opened this issue · comments
#install 10/10 will do it again, and I use pnpm
#use instructions left me baffled though. Nothing matches up with what I see in my svelte.config.js which comes from creating sveltekit as per the svelte website. pnpm create svelte@latest stateofthechart
I had to google to figure out how to handle the standard vitePreprocess I already had. The real solution is probably svelte-add pnpm dlx svelte-add@latest mdsvex
They do preprocess: [vitePreprocess(), mdsvex(mdsvexConfig)]
. My initial hack got those reversed.
Perhaps the instructions can be updated to add this very common case?
I am willing to do the work required for this if it is deemed necessary. It would fix/avoid a number of open issues where the manually hacked config is missing parts and causing errors for people.
I would happily accept a PR to update the docs!