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".
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 ?
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!