0👍
I always do either of the following:
1: Import module in nuxt.config.js
In cmd/terminal
npm install --save littlefoot
in case you forgot
// nuxt.config.js
.
.
modules: [
'littlefoot'
],
.
.
2: Create a plugin in the /plugins/ directory
Create a file ~/plugins/littlefoot.js
import Vue from 'vue'
import littlefoot from 'littlefoot'
Vue.use(littlefoot)
- [Vuejs]-How to fix Laravel Blade, Vuejs and Handlebars.js delimiter (mustache) issue?
- [Vuejs]-In VueJS component, how to use Table with Data Rows from Subcomponent
Source:stackexchange.com