mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
27 lines
589 B
Vue
27 lines
589 B
Vue
<template>
|
|
<div class="container">
|
|
<p><img src="~assets/nuxt.png" /></p>
|
|
<p>This image is included as data:image/png;base64...</p>
|
|
<p>In the source code, the files generated are based on the build.filenames data.</p>
|
|
<p>If you look at the <a href="/_nuxt/vendor.js">vendor.js</a>, lodash has been included (cmd/ctrl + F "lodash").</p>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import img from '@/assets/nuxt.png'
|
|
|
|
export default {
|
|
mounted() {
|
|
console.log('Teub', img)
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.container {
|
|
font-size: 20px;
|
|
text-align: center;
|
|
padding: 100px;
|
|
}
|
|
</style>
|