vue-custom-element icon indicating copy to clipboard operation
vue-custom-element copied to clipboard

serve -s dist does not render: "404 the requested path could not be found"

Open clara-miralles opened this issue 3 years ago • 2 comments

I did vue-cli-service build --target lib --name your-component-name src/main.js and builds correctly. Local server works fine. However cannot render after "serve -s dist".

Any idea why this could be?

Thanks in advance!

clara-miralles avatar Jun 25 '21 10:06 clara-miralles

Please check browser's console. Regards

karol-f avatar Jun 25 '21 10:06 karol-f

Thanks Karol. Browser's console just says: Failed to load resource: the server responded with a status of 404 (Not Found). In which file do you place the tag ?

clara-miralles avatar Jun 25 '21 12:06 clara-miralles