---
title: "Discussion on \"How to create multiple mixins in one file and using specific mixins in vue js\" | Hashnode"
description: "Discussion on \"How to create multiple mixins in one file and using specific mixins in vue js\". When we have features such as method, computed or watch, that we want to use in more than one component or view, we can create and use mixins to avoid repetitive codes.\nIn small projects, we can create and import a mixin file for each repetitive feat..."
url: "https://hashnode.com/posts/how-to-create-multiple-mixins-in-one-file-and-using-specific-mixins-in-vue-js-17340dc0235e/64bda9790ddc0bf1f8dd5180"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to create multiple mixins in one file and using specific mixins in vue js](https://sft.hashnode.dev/how-to-create-multiple-mixins-in-one-file-and-using-specific-mixins-in-vue-js-17340dc0235e?utm_source=hashnode&utm_medium=feed)

When we have features such as method, computed or watch, that we want to use in more than one component or view, we can create and use mixins to avoid repetitive codes. In small projects, we can create and import a mixin file for each repetitive feat...

Nov 22, 2021 · 1 min read · sft.hashnode.dev  
Updated Aug 31, 2023  
Read the article

-   [#mixins](https://hashnode.com/tag/mixins)
-   [#mixin](https://hashnode.com/tag/mixin)
-   [#hooks](https://hashnode.com/tag/hooks)
-   [#vue-mixin](https://hashnode.com/tag/vue-mixin)
-   [#composables](https://hashnode.com/tag/composables)

## Written by

[Mustafa Dalga](https://hashnode.com/@mustafadalga)

@mustafadalga · Tallinn, Estonia

  
[View profile](https://hashnode.com/@mustafadalga)

Unfolding Tech & Life Through Code - Software Developer, Nature Photographer & Voracious Reader

I am a highly qualified software developer with over 6 years of experience in developing desktop and web applications using various technologies.My main programming language is JavaScript, and I am currently working as a Front-end developer at Heybooster. I am passionate about software development and constantly seek to improve my skills and knowledge through research and self-teaching. I share my projects on Github as open source to not only learn and grow, but also contribute to the development community. As a software developer, I am committed to upholding ethical standards in my work.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
