FrontendDeveloper.in

Vue.js question detail

How do you use mixins in CLI?

Using Vue CLI, mixins can be specified anywhere in the project folder but preferably within /src/mixins for ease of access. Once these mixins are created in a .js file and exposed with the export keyword, they can be imported in any component with the import keyword and their file paths.

Back to all Vue.js questions
Get LinkedIn Premium at Rs 399