Build blog site by Leveraging AI

In recent vue project we see that vuex type not working properly. We will fix that type issue and make vuex type workable

4th Apr 2025

Introduction

In recent version of our vue project, when we try to add vuex we see type error and vuex type not found. We can easily fix that issue.

First Try - Lovable

  1. Create a
    vuex.d.ts
    file inside of your route project.
  2. Pase this code in that file
declare module 'vuex' {
  export * from 'vuex/types/index.d.ts'
  export * from 'vuex/types/helpers.d.ts'
  export * from 'vuex/types/logger.d.ts'
  export * from 'vuex/types/vue.d.ts'
}
  1. That's it. Your are ok to go.

Second Try - YouTube No Code

Third Try - Open Source + Vibe Coding

  • Adding Multi-language Support