joeldenning / vite-single-spa-example

MIT License
63 stars 25 forks source link

Problem running example from Readme #16

Open Ali-Javanmardi opened 2 years ago

Ali-Javanmardi commented 2 years ago

Hi,

I tried to run this example by Readme explanation:

pnpm install
pnpm run dev -- --https
open https://localhost:3000/src/main.js # The cert will be insecure - tell your browser to trust it
open 'https://single-spa-playground.org/playground/instant-test?name=vite-test&framework=vue&useNativeModules=true&url=https%3A%2F%2Flocalhost%3A3000%2Fsrc%2Fmain.js'

But I found dev server is running on http instead of https So then I removed -- from run command and now it run https.

Is there any reason for those extra -- in run command or they are just typo?

jdmswong commented 12 months ago

Missed that when debugging my failing example. Working now thanks @Ali-Javanmardi !