[U] Update imports
This commit is contained in:
+1
-5
@@ -3,7 +3,6 @@ import {Component, Vue} from 'vue-property-decorator';
|
||||
import config from '@/content/config.json';
|
||||
import Responsive from "@/responsive";
|
||||
import PhotoSwipper from "@/PhotoSwipper.vue";
|
||||
import {homeContent} from "@/content/home.ts"
|
||||
|
||||
/**
|
||||
* Data class for artworks
|
||||
@@ -76,15 +75,12 @@ class Artwork
|
||||
}
|
||||
}
|
||||
|
||||
@Component({components: {PhotoSwipper}})
|
||||
@Component({components: {PhotoSwipper, Home}})
|
||||
export default class App extends Vue
|
||||
{
|
||||
// Create variable from imported config
|
||||
config = config;
|
||||
|
||||
// Home
|
||||
home = homeContent;
|
||||
|
||||
// Parsed artworks
|
||||
artworks: Artwork[] = [];
|
||||
|
||||
|
||||
@@ -46,12 +46,16 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Home"
|
||||
<script lang="ts">
|
||||
import {Component} from "vue-property-decorator";
|
||||
|
||||
@Component
|
||||
export default class Home extends Vue
|
||||
{
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user