Forum

"ReferenceError: md...
 
Notifications
Clear all

"ReferenceError: mdb is not defined"

1 Posty
1 Users
0 Reactions
1,898 Widok
0
Topic starter
app.js:117893 [Vue warn]: Error in mounted hook: "ReferenceError: mdb is not defined"

found in

---> <QuestionEditorText> at resources/js/components/question-text.vue
       <QuestionEditorQuestion> at resources/js/components/question-editor-question.vue
         <QuestionEditor> at resources/js/components/question-editor.vu
1 Answer
0
Topic starter

inside app.js add

import * as mdb from 'mdb-ui-kit'; // lib
import { Input } from 'mdb-ui-kit'; // module

window.mdb = mdb;

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: