Comments (3)
Have you included the base CMS address in the configuration?
I can't tell what's going on without having information. Can you upload a simple repository with your setup so I can reproduce the issue?
from nuxt-image-extractor.
An example url of an image is like such:
It's a Contenful Assets url... Tries some configurations, but I guess I'm stuck...
Is this info helpful?
Update:
Conteful is serving the images as such:
//images.ctfassets.net/jsc9w1b7a9ly/3g7TKz3svRQ9o1VSrCLs2P/a9f1551f98c9756a6465041f365fe6b1/hero.jpeg?fit=fill&w=570&h=430
So putting "http:" before the images, does indeed download the images. But it is still not replacing it in de dist-files... Any experience with that?
from nuxt-image-extractor.
I've tested that image with this config and it's working fine.
on nuxt.config.js
target: 'static',
modules: [
[
'nuxt-image-extractor',
{ baseUrl: 'http://images.ctfassets.net' }
]
],
Then you run the following commands nuxt build
nuxt generate
and nuxt start
to check the output live server.
This generates a dist
folder, wich contains the _images
folder, and then serves it (on localhost:3000
by default).
from nuxt-image-extractor.
Related Issues (11)
- not working for urls without extensions HOT 1
- still fetches from given urls HOT 1
- Substract certain file naming option
- Multiple BaseUrls
- Doesn't work
- Cannot require image in the generate process HOT 2
- "page.html.matchAll is not a function" error on generate HOT 4
- Unable to properly parse image-url when used in a background-image url() HOT 6
- Add support for non-default router base values HOT 1
- TypeError: page.html.matchAll is not a function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt-image-extractor.