Using Bootstrap 5 with Vue 3

Bootstrap 5 no longer needs jQuery so it’s easier to use with Vue, and no longer requires a library like bootstrap-vue. Install bootstrap as you would any other JS module in the Vue project using npm install or by adding it to the package.json… npm install –save bootstrap npm install –save @popperjs/core Next, add the … Read more

VueJS/Typescript – Cannot find module ‘./components/Navigation’ or its corresponding type declarations

In the src folder add the file shims-vue.d.ts with the following content : Vue 2 : declare module “*.vue” { import Vue from ‘vue’ export default Vue } Vue 3: declare module ‘*.vue’ { import type { DefineComponent } from ‘vue’ const component: DefineComponent<{}, {}, any> export default component } and import the component with … Read more