We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ac040 commit 69e01a3Copy full SHA for 69e01a3
playground/layers/layer-with-config/assets/images/colors-layer-config.jpg
3.16 MB
playground/layers/layer-with-config/nuxt.config.ts
@@ -0,0 +1,5 @@
1
+export default defineNuxtConfig({
2
+ image: {
3
+ dir: './assets',
4
+ },
5
+})
playground/pages/ipx-layers.vue
@@ -17,6 +17,15 @@
17
@load="isLoadedLayer = true"
18
/>
19
<p>Received onLoad event: {{ isLoadedLayer }}</p>
20
+
21
+ <h1>Layer with dir config</h1>
22
+ <nuxt-img
23
+ src="/images/colors-layer-config.jpg"
24
+ width="500"
25
+ height="500"
26
+ @load="isLoadedLayerWithConfig = true"
27
+ />
28
+ <p>Received onLoad event: {{ isLoadedLayerWithConfig }}</p>
29
</div>
30
</template>
31
@@ -25,4 +34,5 @@ import { ref } from '#imports'
34
35
const isLoadedRoot = ref(false)
36
const isLoadedLayer = ref(false)
37
+const isLoadedLayerWithConfig = ref(false)
38
</script>
0 commit comments