vue-setup-doc

A script to generate documentation for Vue.js and TypeScript projects, with support for syntax in Vue.js
1,244
Install
npm install vue-setup-doc
Latest Version:1.0.5
License:MIT
Last Updated:Jun 9, 2023
Links: GitHub  ·  npm
Maintainer: mustafadalga

vue setup doc

vue-setup-doc is a command-line utility designed to generate documentation for Vue.js and TypeScript projects. It introduces support for Vue.js's <script setup> syntax, filling a gap left by documentation.js.

version

Installation

Global Installation

To install vue-setup-doc globally, run the following command:

npm install -g vue-setup-doc

This will install the package globally, allowing you to use the vue-setup-doc command in your terminal.

Local Installation

To install vue-setup-doc as a development dependency in your project, navigate to your project directory in your terminal and run the following command:

npm install -D vue-setup-doc

This will add vue-setup-doc to the devDependencies in your project's package.json.

Usage

To use vue-setup-doc, you need to specify an input file and an output file. The command format is as follows:

npx vue-setup-doc -i [input file] -o [output file]

Replace [input file] with the path to the file you want to generate documentation for, and [output file] with the path where you want to save the generated documentation.

If the input file is a Vue component, vue-setup-doc will remove the setup attribute before generating the documentation. If the input file is not a Vue component, vue-setup-doc will run the documentation command directly.

Help

You can view the help information by running the following command:

npx vue-setup-doc -h

or

npx vue-setup-doc -help

Related Packages

vue-doxen

The world's best Vue.js component documentation tool!

34,832 17
@vesperjs/vue

This is Vesper for Vue.js.

8,552 1
@wzpo/md-ui

Another Momentum UI framework for Vue.js applications

2,054
vuenilla

Unstyled Vue.js component library.

1,552 2
vue-awesome

Font Awesome component for Vue.js, using inline SVG.

510,216 2,422

Version History

Version Released License
1.0.5 MIT
1.0.4 MIT
1.0.3 MIT
1.0.2 MIT
1.0.1 MIT