2022-09-09 20:41:18 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-12-19 11:57:07 +00:00
|
|
|
<Head>
|
|
|
|
<Title>Vue Image Component</Title>
|
|
|
|
<Meta name="description" content="Displays an image with preview and tranformation options." />
|
|
|
|
</Head>
|
|
|
|
|
2022-09-09 20:41:18 +00:00
|
|
|
<div class="content-section introduction">
|
|
|
|
<div class="feature-intro">
|
|
|
|
<h1>Image</h1>
|
2022-12-08 12:26:57 +00:00
|
|
|
<p>Displays an image with preview and tranformation options. For multiple image, see <router-link to="galleria">Galleria</router-link>.</p>
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
|
|
|
<AppDemoActions />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content-section implementation">
|
|
|
|
<div class="card">
|
|
|
|
<h5>Basic</h5>
|
2022-12-09 20:47:59 +00:00
|
|
|
<Image :src="baseUrl + 'demo/images/galleria/galleria1.jpg'" alt="Image" width="250" />
|
2022-09-09 20:41:18 +00:00
|
|
|
|
|
|
|
<h5>Preview</h5>
|
2022-12-09 20:47:59 +00:00
|
|
|
<Image :src="baseUrl + 'demo/images/galleria/galleria11.jpg'" alt="Image" width="250" preview />
|
2022-09-09 20:41:18 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<ImageDoc />
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import ImageDoc from './ImageDoc';
|
|
|
|
|
|
|
|
export default {
|
2022-12-09 20:47:59 +00:00
|
|
|
data() {
|
|
|
|
return {
|
2022-12-27 07:23:26 +00:00
|
|
|
baseUrl: process.dev ? '/' : '/primevue-nuxt/'
|
2022-12-09 20:47:59 +00:00
|
|
|
};
|
|
|
|
},
|
2022-12-27 07:23:26 +00:00
|
|
|
|
2022-09-09 20:41:18 +00:00
|
|
|
components: {
|
|
|
|
ImageDoc: ImageDoc
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|