0

I've deployed my website using Heroku. I am also using Vueper Slides which needs a variable, which is an array, containing the path to the image. On the live website I noticed that it does not contain the images folder contained in my dist folder. What can I do to fix this?

Javascript array variable: Javascript array variable

dist directory:

dist directory

Heroku source files:

Heroku source files

1 Answer 1

1

This is not a definite answer, but can help.

I noticed you are using the public folder where you keep your images. you may want to double check that the path is correct because it should just load stuff within the public folder.

However, I don't understand why it doesn't load in the images folder from dist.

Sign up to request clarification or add additional context in comments.

2 Comments

I'm embarrassed, the path had a typo. It works now, but is there a way to import the images folder?
@Stove Games Games this may be useful but I would not advise doing this for images since it's a lot of manual labor and the public folder works just fine if not better. stackoverflow.com/questions/42199872/…

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.