Migracja na Vite

This commit is contained in:
2022-07-25 19:59:46 +02:00
parent ad671b59b7
commit c46ddc8b0b
21 changed files with 644 additions and 30483 deletions
+6 -3
View File
@@ -88,10 +88,12 @@
</template>
<script lang="ts">
import { ICargo, ICarWagon, ILocomotive, IStore } from '@/types';
import { ComputedRef, defineComponent, inject } from 'vue';
import carUsage from '@/data/carUsage.json';
import carUsage from '../data/carUsage.json';
import { IStore, ICarWagon, ILocomotive, ICargo } from '../types';
import randomizeIcon from '../assets/randomize-icon.svg';
export default defineComponent({
setup() {
@@ -126,7 +128,7 @@ export default defineComponent({
data: () => ({
icons: {
randomize: require('@/assets/randomize-icon.svg'),
randomize: randomizeIcon,
},
focusedCar: null as ICarWagon | null,
@@ -456,3 +458,4 @@ button.chosen {
}
}
</style>