@musangowope/hot-components-vue
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

@musangowope/hot-components-vue

Vue3 component wrapper library built from @musangowope/hot-components

Installation

npm

npm install @musangowope/hot-components-vue

OR

yarn

yarn add @musangowope/hot-components-vue

In the root of your vue project, create a file called vue.config.js and add the following code:

module.exports = {
  chainWebpack: config => config.resolve.symlinks(false)
}

Getting started

Here is a basic example of how to use LaTableOfContents in Vue3:

<template>
  <LaTableOfContents :items="items" />
</template>

<script>
import { LaTableOfContents } from "@musangowope/hot-components-vue";
export default {
  components: {
    LaTableOfContents
  },
  data: () => ({
    items: [
      {
        title: 'Entire document',
        children: [
          {
            title: 'Ch. 1 – ',
            children: [
              {
                title: 'Part B',
              },
            ],
          },
          {
            title: 'Ch. 2 – ',
          },
        ],
      }
    ]
  })
}
</script>

List of components

View more examples of our various components.

Content components

Behaviour components

Package Sidebar

Install

npm i @musangowope/hot-components-vue

Weekly Downloads

0

Version

1.3.4

License

LGPL-3.0-or-later

Unpacked Size

50.2 kB

Total Files

13

Last publish

Collaborators

  • musangowope