[Vuejs]-How to integrate Admin LTE 3 in Nuxt.js

0👍

Create a file in the plugins folder: plugins/myscript.js:

import Vue from 'vue'
import MyScript from '../node_modules/myscript/myscript.js'

Vue.use(MyScript)

Then add the file path inside the plugins key of our nuxt.config.js:

export default {
  plugins: ['~/plugins/myscript']
}

More Infos nuxtjs.org/guide/plugins/

Leave a comment