Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
317 views
in Technique[技术] by (71.8m points)

vue.js - Nuxt overwrites the downloaded assets with original CMS links when running index.html from the dist folder

I am currently using a buildModule called Magpie (nuxt-magpie) to download all images from a CMS (contentful) during the 'nuxt generate' script.

This works fine and all my assets are stored in my local folder on my machine.

Also, my /dist/index.html has all of its src references set to my local magpie folder.

But: when running my starting index.html from my /dist folder, I can see that all src links get overwritten and set back to their original file.

When I disable all the scripts in that file, this doesn't happen.

Why is nuxt still trying to overwrite and am I missing a simple config or is my problem worse?

question from:https://stackoverflow.com/questions/65923629/nuxt-overwrites-the-downloaded-assets-with-original-cms-links-when-running-index

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...