1.3.0 • Published 1 year ago

@takuma-ru/vue-library-docs v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@takuma-ru/vue-library-docs

socialPreview

Status

npm npm npm bundle size

Description

Documentation library for vue library

DEMO

none

Getting Started

0. Create nuxt-app

npx nuxi@latest init [ directoryName ]

1. Install

yarn add @takuma-ru/vue-library-docs

2. How to use

  1. Add @takuma-ru/vue-library-docs to extends and use the template.
    defineNuxtConfig({
      extends: '@takuma-ru/vue-library-docs',
      vueLibraryDocs: {
        isUsePlugin: true // Flag whether to use `@takuma-ru/vue-library-docs` templates and components.
      }
    })
  2. Delete app.vue.
  3. Create app.config.ts in root.
    touch app.config.ts
    type nul > app.config.ts
  4. Edit app.config.ts.

    import { IAppConfig } from "./types/app.config";
    
    export default defineAppConfig<IAppConfig>({
      docs: {
        libName: '',
        developerName: '',
        description: '',
        icon: '',
        image: '',
        repository: '',
        npm: '',
        supportVersion: {
          vue2: true,
          vue2Point7: true,
          vue3: true,
          nuxt2: true,
          nuxt3: true
        },
        socialsAccountName: {
          twitter: 'user-name(No need for "@")',
          github: '',
          facebook: '',
          instagram: '',
          youtube: '',
          medium: ''
        },
        navigationListSetting: [
          {
            parentPath: '/playground',
            title: 'Playground',
            icon: 'slow_motion_video'
          }
        ]
      }
    })
  5. Create content folder in root.

    mkdir content

License

MIT - Copyright (c) 2023 takuma-ru

1.3.0

1 year ago

1.2.9

1 year ago

1.2.12

1 year ago

1.2.13

1 year ago

1.2.10

1 year ago

1.2.11

1 year ago

1.2.14

1 year ago

1.2.15

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.0.0-beta.9

1 year ago

1.0.0-beta.8

1 year ago

1.0.0-beta.7

1 year ago

1.0.0-beta.6

1 year ago

1.0.0-beta.5

1 year ago

1.0.0-beta.4

1 year ago

1.0.0-beta.3

1 year ago

1.0.0-beta.2

1 year ago

1.0.0-beta.1

1 year ago