Use Vue.js as a "simple external library" for exercises 1 to 8:
You will build a small website which lists products and has a shopping cart functionality.
You can use any html editor, Visual Studio Code or use https://codesandbox.io/ with the Static HTML Template (do not use Vue.js template as it uses SFC by default).
Examples are provided throughout the exercises to help you, but you are not required to arrive exactly at the same result.
To get you started here a sample index.html file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Static Template</title>
<!-- optional CSS framework -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<style>
/* optional your CSS */
</style>
</head>
<body>
<!-- Your HTML -->
<h1>My Site</h1>
<script type="module">
import { createApp } from "https://unpkg.com/vue@3/dist/vue.esm-browser.js";
/* Your code */
</script>
</body>
</html>
Create an HTML page displaying a list of products.
Each product has:
A few products are enough for this preparation step.


Add Vue.js to your page.
Define the products in a data structure, which Vue.js will display when the page loads.
This should replace the created list from (exercise 1).








products containing a list of product objects.You can use fetch or add axios
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.6.5/axios.js" integrity="sha512-NF+M0CTEn9D9ENLJG/DxMiqAiaz3upEpfxyekwb+U2OG8JPJSh/bUgXToRtxoNW5A2ucCUCw7adbo3gU1ZdHUQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>


Change the code so that the search field from exercise 4 does not filter the local list, but performs a search via the API instead https://dummyjson.com (https://dummyjson.com/products/search?q=search_term).