@thrivehive/magnet
v0.1.23
Published
Shared component library for ThriveHive lead magnets. Build with ❤️ and the following:
Downloads
10
Keywords
Readme
𝗠 🧲 𝗚 𝗡 𝗘 𝗧
Shared component library for ThriveHive lead magnets. Build with ❤️ and the following:
- Vue
- Vuetify 2
- Storybook
Installation
With NPM:
npm install @thrivehive/magnet
Or Yarn:
yarn add @thrivehive/magnet
Set up Vue, Vuetify, and Magnet in your application:
import Vue from 'vue';
import Vuetify from 'vuetify';
import Magnet, { vuetify } from '@thrivehive/magnet';
import '@thrivehive/magnet/dist/magnet.css';
Vue.use(Vuetify);
Vue.use(Magnet);
new Vue({
vuetify
render: (h) => h(App)
}).$mount('#app');
Note that by installing Magnet in this way, all Magnet components are globally registered. The
component documentation include local component registration as an example, but it's not necessary
with Vue.use(Magnet);