Vue Plugins

In this example we show how to add a vue plugin to your application


In this example:

plugins/vue-toolitp.js imports our tooltip and tells Vue to use..

pages/index.vue uses our plugin.

nuxt.config.js contains the plugins property to register our plugin and the css property to add our tooltip css.

package.json show our tooltip package has been installed.

Loading Sandbox...
Edit this page on GitHub Updated at Mon, Jul 12, 2021