luya1991 / file-synchronization-yunbase

file-synchronization-yunbase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yun-base

yun-base

Components

  • container
  • theme (style)
  • menubar
  • sidebar
  • topbar

Property

Attribute Usage
router Object, expose router after init
store Object, expose store after init

How to use

Initialization

import Vue from 'vue'
import YunBase from 'yun-base'

Vue.use(YunBase, {
  modules               //modules in webpack context
  pages                 //routers in webpack context
})

Get router or store via import

import base from 'yun-base'

const router = base.router
const store = base.store

About

file-synchronization-yunbase

License:MIT License


Languages

Language:JavaScript 60.6%Language:Vue 36.9%Language:CSS 2.5%