For example, I am using Bulma in my project and find the BulmaJS library very useful as it saves me a lot of time. I appear not to be importing BulmaJs correctly into my project, but cannot figure out what I am missing?
After research, I have reached the following conclusions which may or may not be correct.
npm install --save-dev @vizuaalog/bulmajs I have added the following code.
import Navbar from '@vizuaalog/bulmajs/src/plugins/Navbar'; export default Navbar;
plugins: [ '@/plugins/navbar.js' ],
This results in a SyntaxError Unexpected identifier error?
What am I not understanding?