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

import svg from s3 #6

Open
cnell-usgs opened this issue Nov 26, 2021 · 0 comments
Open

import svg from s3 #6

cnell-usgs opened this issue Nov 26, 2021 · 0 comments

Comments

@cnell-usgs
Copy link
Member

A solution is needed to be able to read in an svg file from the public s3 bucket and inject it as inline svg. The way the svg-loader imports svg files only works with local files (e.g. import CONUSmap from '@/assets/components/map.svg';). Alternative ways to embed an svg that allow urls do not treat them as inline svg, and therefore are not able to manipulate with js or css.

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