| Ex No: 11 | MOUSE OVER EVENT IN VUE.JS |
|---|---|
| Aim: | To demonstrate mouseover even in Vue.js. |
| Procedure | |
| Step1: Install Node Package Manager (npm) in the system. | |
| Step2: Create New Vue.js project using "npm create vue@latest". | |
| Step3: Open the created project folder and install the dependencies using "npm install". | |
| Step4: Create two components "AppTitle.vue" and "ProdDisp.vue" place the components in projects src>components folder. | |
| Step6: Include the created components in "App.vue" file and provide proper template and CSS to show the compnents. | |
| Step7: Run the code using "npm run dev". | |
| Source Code | |
App.vue
AppTitle.vue
ProdDisp.vue
|
|
| Result: | Thus vue.js application is created to perform addition using click event. |