contentacms / contenta_vue_nuxt

Start in minutes a Drupal 8 with JSON API and Vue.js : a Nuxt.js ( Vue.js SSR ) consumer for Contenta CMS
https://contentanuxt.now.sh
GNU General Public License v2.0
125 stars 32 forks source link

images do not work in demo site #50

Open marcvangend opened 5 years ago

marcvangend commented 5 years ago

Today I installed the Contenta Vue Nuxt app, version 2.0.1, and the latest Contenta CMS demo site using the Quick Install method from https://www.contentacms.org/#install :

php -r "readfile('https://raw.githubusercontent.com/contentacms/contenta_jsonapi/8.x-2.x/installer.sh');" > contentacms-quick-installer.sh
chmod a+x contentacms-quick-installer.sh
./contentacms-quick-installer.sh

Unfortunately, images do not work. I did find out that the code on line 18 of components/RecipeDetail.vue should not be

              <img v-lazy="`${serverFilesUrl}/${recipe.image.thumbnail.url}`" />

but

              <img v-lazy="`${serverFilesUrl}/${recipe.image.thumbnail.uri.url}`" />

I haven't found a fix for the other images yet.

luksak commented 5 years ago

I fixed most of the images. I'll create a merge request asap.

luksak commented 5 years ago

There you go: #53