svelte-multistep-form icon indicating copy to clipboard operation
svelte-multistep-form copied to clipboard

Form disappear on production

Open carminoplata opened this issue 1 year ago • 1 comments

Hi,

the form disappears when you build for production. As far as I understood, since Svelte works on build time when the component is built is not able to understand the index of the step. So all steps will be not active by default. I attached the image with the behaviour

Immagine 2023-04-15 131141

I guess you have to change the way your MasterForm is created

carminoplata avatar Apr 15 '23 11:04 carminoplata

Hi @carminoplata could you add the steps you're following to build for production ? I just tested

  • npm run build
  • npm run start
  • open output/index and all of them worked fine

edenriquez avatar Apr 28 '23 03:04 edenriquez