Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons path error.not show icons on live demo server only (work fine on local) #35

Open
ct-anjali-rana opened this issue Jan 13, 2024 · 0 comments

Comments

@ct-anjali-rana
Copy link

our code example here:

main.ts file :
import { svgSpritePlugin } from 'vue-svg-sprite';
app.use(svgSpritePlugin, {
/* Don't try to uncomment following url code and customize it.if you are customize url then it will take routes path and it create svg path errors*/
// url: '',
class: 'pc-icon'
});

local components file code
import { SvgSprite } from 'vue-svg-sprite';

our dynamic code:

also try to set path but still i am getting same error only some pages icons not display because of routes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant