This component is designed to be utilized in dgtek.net projects only.
It can't be used outside the dgtek.net and landing pages of dgtek.net
yarn add dgtek-land
const getMainPage = () => import('dgtek-land')
async function loadComponent () {
require('dgtek-styles/css/fonts.scss')
require('dgtek-styles/css/variables.scss')
require('dgtek-land/dist/dgtek-land.css')
const component = (await getMainPage()).default
component.$root.$mount('#app')
}
loadComponent()
<template>
<MainPage route="dgtek-1"/>
</template>
<script>
export default {
name: 'App',
data: () => ({
route: 'dgtek-1'
})
}
</script>