Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: working example
  • Loading branch information
kissu committed Sep 22, 2021
1 parent a508c21 commit b290827
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions nuxt.config.js
@@ -1,5 +1,6 @@
export default {
components: true,
target: 'static',
head: {
title: "Nuxt Image Example",
htmlAttrs: {
Expand Down
6 changes: 3 additions & 3 deletions pages/index.vue
Expand Up @@ -19,12 +19,12 @@
<article>
<figure class="figure">
<nuxt-img
provider="cloudinary"
src="117_acy7d3"
provider="static"
src="/images/stairs.jpg"
width="431"
height="600"
class="figure-img img-fluid card-img-top shadow"
sizes="sm:576px md:768px lg:992px xl:1200px xxl:1400px"
sizes="sm:100vw md:50vw lg:400px"
/>
<figcaption class="figure-caption p-2 text-center">
a caption here
Expand Down
Binary file added static/images/stairs.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b290827

Please sign in to comment.