1.0.4 • Published 3 years ago

eye-vue-doc v1.0.4

Weekly downloads
3
License
MIT
Repository
-
Last release
3 years ago

EyeVue-Doc

基于EyeVue框架搭建的文档UI库

快速开始

import Vue from "vue"
import RouterConfig from "@/router.config";

import EyeDoc, { DemoLogo } from "../src"

import EyeHSww, { Theme } from "eye-vue/es/hsww";

import "eye-vue/es/style/index.css"
import "eye-vue/es/hsww/style/index.css"
import "eye-vue/es/hsww/style/skin/land/index.css"
import '../src/style/index.less';

Vue.use(EyeDoc)
Vue.use(EyeHSww, {

    defaultSetting:{
        showNProgress:false,
    },

    theme:Theme.land,

    layouts:{
        logo:DemoLogo
    },

    router: {
        routers: [
            {
                name: 'index',
                path: '/index',
                meta: { title:"首页", show:false }
            },
            ...RouterConfig.routers
        ]
    }
})

Markdown webpack 配置

    {
        test: /\.md$/,
        use:[
            {
                loader: 'vue-loader', // 这里的使用的最新的 v15 版本
                options: {
                    compilerOptions: {
                        preserveWhitespace: false
                    }
                }
            },
            {
                loader: "eye-vue-doc/es/loader",
            }
        ],
    },
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago