22:33:48 [vite] warning:
Z:/Dev/my-projects/warmaster-online/src/components/common/Districts/DistrictLocal.vue
50 | /* @vite-ignore */
51 | import(`${this.image}`).then((imageSrc) => {
52 | this.imageSrc = imageSrc.default;
| ^
53 | });
54 | }
The above dynamic import cannot be analyzed by Vite.
See https://github.com/rollup/plugins/tree/master/packages/dynamic-import-vars#limitations for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
<template>
<div
:class="[$style.DistrictLocal, classes]"
:style="{width: width + 'px'}"
>
<img
:src="image"
:alt="name"
>
</div>
</template>
<script>
export default {
name: 'DistrictLocal',
props: {
name: {
type: String,
default: ''
},
image: {
type: String,
default: ''
},