Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

dgtek-land

garevna13MIT0.1.5

Landing page template for DGTek

dgtek, media[[3~[

readme

dgtek-land

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


install component

yarn add dgtek-land

Load the component and it's styles

main.js
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()
App.vue
<template>
  <MainPage route="dgtek-1"/>
</template>

<script>

export default {
  name: 'App',

  data: () => ({
    route: 'dgtek-1'
  })
}
</script>