vue-toc

WebJar for vue-toc

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

vue-toc
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

vue-toc
WebJar for vue-toc
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/isy/vue-toc

Download vue-toc

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/vue-toc/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>vue-toc</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/vue-toc/
implementation 'org.webjars.npm:vue-toc:0.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/vue-toc/
implementation ("org.webjars.npm:vue-toc:0.0.1")
'org.webjars.npm:vue-toc:jar:0.0.1'
<dependency org="org.webjars.npm" name="vue-toc" rev="0.0.1">
  <artifact name="vue-toc" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='vue-toc', version='0.0.1')
)
libraryDependencies += "org.webjars.npm" % "vue-toc" % "0.0.1"
[org.webjars.npm/vue-toc "0.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : vue jar [2.6.10,3)

Project Modules

There are no modules declared in this project.

vue-toc Build Status

Vue.js component that automatically generates a table of contents.

Install

$ npm install vue-toc

Register the component

import Vue from 'vue'
import VueToc from 'vue-toc'

Vue.component('vue-toc', VueToc)

Options

key description default val
target Specify the location of the heading none String
h2Class Specify css class in table of contents(h2) toc-2 String
h3Class Specify css class in table of contents(h3) toc-3 String

※Please be sure to attach an ID to the h2 and h3 tags for in-page links

Versions

Version
0.0.1