2016-11-09 01:35:13 +00:00
|
|
|
<template>
|
|
|
|
<div class="container">
|
2016-11-16 16:55:15 +00:00
|
|
|
<p><img src="~assets/nuxt.png" /></p>
|
2016-11-09 01:35:13 +00:00
|
|
|
<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>
|
|
|
|
|
2017-07-04 13:41:43 +00:00
|
|
|
<script>
|
|
|
|
import img from '@/assets/nuxt.png'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
mounted() {
|
|
|
|
console.log('Teub', img)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2016-11-09 01:35:13 +00:00
|
|
|
<style>
|
|
|
|
.container {
|
|
|
|
font-size: 20px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 100px;
|
|
|
|
}
|
|
|
|
</style>
|