Hello my friends, welcome back to my blog. Today in this blog post, I am going to show you, Vuejs – Vue 3 Modern Ecommerce Fully Responsive Website Template Free.
Vue 3 came and if you are new then you must check below link:
Vuejs Tutorials
Friends now I proceed onwards and here is the working code snippet and please use this carefully to avoid the mistakes:
1. Firstly friends we need fresh vuejs(Vue 3) setup and for that we need to run below commands into our terminal and also w should have latest node version installed on our system:
Guys you can skip this first step if you already have vuejs fresh setup:
npm init vue@latest
2. Guys after run command please select things according to your project:
Project name: … <your-project-name> ✔ Add TypeScript? … No / Yes ✔ Add JSX Support? … No / Yes ✔ Add Vue Router for Single Page Application development? … No / Yes ✔ Add Pinia for state management? … No / Yes ✔ Add Vitest for Unit testing? … No / Yes ✔ Add Cypress for both Unit and End-to-End testing? … No / Yes ✔ Add ESLint for code quality? … No / Yes ✔ Add Prettier for code formatting? … No / Yes Scaffolding project in ./<your-project-name>... Done.
3. Guys now run below command to install node modules and run the project:
cd <your-project-name> npm install npm run dev
4. Now guys please download zip(in this zip file there are js, css and images for ecommercetemplate) file from below path and extract zip inside src/assets folder and get all the folders:
5. In the end please add below code inside scr/App.vue file:
<template> <div class="hero_area"> <!-- header section strats --> <header class="header_section"> <div class="container-fluid"> <nav class="navbar navbar-expand-lg custom_nav-container"> <a class="navbar-brand" href="#"> <img src="assets/images/logo.png" alt="" /><span> Zezmon </span> </a> <div class="navbar-collapse" id=""> <div class="container"> <div class=" mr-auto flex-column flex-lg-row align-items-center"> <ul class="navbar-nav justify-content-between "> <div class="d-none d-lg-flex"> <li class="nav-item"> <a class="nav-link" href="#"> Customer Number : 01234567890</a> </li> <li class="nav-item"> <a class="nav-link" href="#"> Demo@gmail.com </a> </li> </div> <div class=" d-none d-lg-flex"> <li class="nav-item"> <a class="nav-link" href="#"> Login / Register </a> </li> <form class="form-inline my-2 ml-5 mb-3 mb-lg-0"> <button class="btn my-2 my-sm-0 nav_search-btn" type="submit"></button> </form> </div> </ul> </div> </div> <div class="custom_menu-btn"> <button onclick="openNav()"></button> </div> <div id="myNav" class="overlay"> <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a> <div class="overlay-content"> <a href="#">HOME</a> <a href="#">PRODUCTS</a> </div> </div> </div> </nav> </div> </header> <!-- end header section --> <!-- slider section --> <section class=" slider_section position-relative"> <div id="carouselExampleControls" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <div class="slider_item-box"> <div class="slider_item-container"> <div class="container-fluid"> <div class="row"> <div class="offset-md-2 col-md-4"> <div class="slider_item-detail"> <div> <h2 class="slider_heading"> 50% OFF <br /> First order </h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nis </p> <div class="d-flex"> <a href="" class="slider_btn"> Order Now </a> </div> </div> </div> </div> <div class="col-md-6"> <div class="hero_img-box"> <img src="assets/images/hero.png" alt="" /> </div> </div> </div> </div> </div> </div> </div> <div class="carousel-item"> <div class="slider_item-box"> <div class="slider_item-container"> <div class="container-fluid"> <div class="row"> <div class="offset-md-2 col-md-4"> <div class="slider_item-detail"> <div> <h2 class="slider_heading"> 50% OFF <br /> First order </h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nis </p> <div class="d-flex"> <a href="" class="slider_btn"> Order Now </a> </div> </div> </div> </div> <div class="col-md-6"> <div class="hero_img-box"> <img src="assets/images/hero.png" alt="" /> </div> </div> </div> </div> </div> </div> </div> <div class="carousel-item"> <div class="slider_item-box"> <div class="slider_item-container"> <div class="container-fluid"> <div class="row"> <div class="offset-md-2 col-md-4"> <div class="slider_item-detail"> <div> <h2 class="slider_heading"> 50% OFF <br /> First order </h2> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nis </p> <div class="d-flex"> <a href="" class="slider_btn"> Order Now </a> </div> </div> </div> </div> <div class="col-md-6"> <div class="hero_img-box"> <img src="assets/images/hero.png" alt="" /> </div> </div> </div> </div> </div> </div> </div> </div> <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev"> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next"> <span class="sr-only">Next</span> </a> </div> </section> <!-- end slider section --> </div> <!-- detail section --> <section class="detail_section"> <div class="container-fluid"> <div class="row"> <div class="col-lg-3"> <div class="detail_img-box"> <img src="assets/images/detail.png" alt="" class="w-100" /> </div> </div> <div class=" col-lg-7"> <div class="detail_container"> <div class="detail-box d-box-1"> <a href=""> <div class="detail-content"> <img src="assets/images/d-1.png" alt="" /> <h5> Care kids </h5> </div> </a> </div> <div class="detail-box d-box-2"> <a href=""> <div class="detail-content"> <img src="assets/images/d-2.png" alt="" /> <h5> Baby boy </h5> </div> </a> </div> <div class="detail-box d-box-3"> <a href=""> <div class="detail-content"> <img src="assets/images/d-3.png" alt="" /> <h5> Baby girl </h5> </div> </a> </div> <div class="detail-box d-box-4"> <a href=""> <div class="detail-content"> <img src="assets/images/d-4.png" alt="" /> <h5> Sale </h5> </div> </a> </div> </div> </div> </div> </div> </section> <!-- end detail section --> <!-- products section --> <section class="products_section"> <div class="heading_container"> <h2> New Products In Store </h2> <p> Featured Product Just Arrived </p> </div> <div class="container layout_padding"> <div class="product_container"> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p1.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $120.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p2.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $110.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p3.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p4.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p5.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p6.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p7.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p8.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p9.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p10.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p11.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> <a href=""> <div class="product_box"> <div class="product_img-box"> <img src="assets/images/p12.png" alt="" /> <span> Sale </span> </div> <div class="product_detail-box"> <span> $150.00 </span> <p> Passage of Lorem Ipsum, you </p> </div> </div> </a> </div> </div> </section> <!-- end products section --> <!-- find section --> <section class="find_section layout_padding-bottom"> <div class="container-fluid"> <div class="row"> <div class="col-lg-6 col-md-8 offset-md-2"> <div class="find_container"> <div class="row"> <div class="col-sm-6"> <div class="find_container-img"> <img src="assets/images/find-img.png" alt="" /> </div> </div> <div class="col-sm-6"> <h3> Find Everything <br /> From A to Z </h3> <p> Shop Back to school </p> </div> </div> </div> <div class="shop_container"> <div class="row"> <div class="col-sm-6"> <p> Shoes </p> <h3> Shop by catagories </h3> <div> <a href=""> View More </a> </div> </div> <div class="col-sm-6"> <div class="shoe_img-box"> <img src="assets/images/shoes.png" alt="" /> </div> </div> </div> </div> </div> <div class="col-md-4"> <div class="find_img-box"> <img src="assets/images/find-hero.png" alt="" /> </div> </div> </div> </div> </section> <!-- end find section --> <!-- client section --> <section class="client_section layout_padding"> <div class="container"> <h2> What our Customer says </h2> <div id="carouselExample2Controls" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="carousel-item active"> <div class="row layout_padding2"> <div class="col-md-6"> <div class="client_box"> <div class="client_id-box"> <div class="client_img-box"> <img src="assets/images/client.png" alt="" /> </div> <h4>Carlac liyo</h4> </div> <div class="client_detail"> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p> </div> </div> </div> <div class="col-md-6"> <div class="client_box"> <div class="client_id-box"> <div class="client_img-box"> <img src="assets/images/client.png" alt="" /> </div> <h4>Carlac liyo</h4> </div> <div class="client_detail"> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p> </div> </div> </div> </div> </div> <div class="carousel-item"> <div class="row layout_padding2"> <div class="col-md-6"> <div class="client_box"> <div class="client_id-box"> <div class="client_img-box"> <img src="assets/images/client.png" alt="" /> </div> <h4>Carlac liyo</h4> </div> <div class="client_detail"> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p> </div> </div> </div> <div class="col-md-6"> <div class="client_box"> <div class="client_id-box"> <div class="client_img-box"> <img src="assets/images/client.png" alt="" /> </div> <h4>Carlac liyo</h4> </div> <div class="client_detail"> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p> </div> </div> </div> </div> </div> <div class="carousel-item"> <div class="row layout_padding2"> <div class="col-md-6"> <div class="client_box"> <div class="client_id-box"> <div class="client_img-box"> <img src="assets/images/client.png" alt="" /> </div> <h4>Carlac liyo</h4> </div> <div class="client_detail"> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p> </div> </div> </div> <div class="col-md-6"> <div class="client_box"> <div class="client_id-box"> <div class="client_img-box"> <img src="assets/images/client.png" alt="" /> </div> <h4>Carlac liyo</h4> </div> <div class="client_detail"> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p> </div> </div> </div> </div> </div> </div> <a class="carousel-control-prev" href="#carouselExample2Controls" role="button" data-slide="prev"> <span class="sr-only">Previous</span> </a> <a class="carousel-control-next" href="#carouselExample2Controls" role="button" data-slide="next"> <span class="sr-only">Next</span> </a> </div> </div> <div class="container"> <div class="item_container"> <div class="row"> <div class="col-sm-7"> <h3> Best offers on any makeup items </h3> <p> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical </p> <div> <a href=""> Shop Now </a> </div> </div> <div class="col-sm-5"> <div class="item_img-box"> <img src="assets/images/items.png" alt="" /> </div> </div> </div> </div> </div> </section> <!-- end client section --> <!-- sign section --> <section class="sign_section layout_padding2"> <div class="container"> <div class="row"> <div class="col-md-5"> <h3> Sign up for Newsletter </h3> <p> There are many variations of passages of Lorem Ipsum available, but the majority have suffered </p> </div> <div class="col-md-7"> <form action=""> <input type="email" placeholder="Enter your email" /> <button> Sign Up </button> </form> </div> </div> </div> </section> <!-- end sign section --> <!-- info section --> <section class="info_section layout_padding"> <div class="container links_container"> <div class="row "> <div class="col-md-3"> <h3> CUSTOMER SERVICE </h3> <ul> <li> <a href=""> International Help </a> </li> <li> <a href=""> Contact Customer Care </a> </li> <li> <a href=""> Return Policy </a> </li> <li> <a href=""> Privacy Policy </a> </li> <li> <a href=""> Shipping Information </a> </li> <li> <a href=""> Promotion Terms </a> </li> </ul> </div> <div class="col-md-3"> <h3> LET US HELP YOU </h3> <ul> <li> <a href=""> Your Account </a> </li> <li> <a href=""> Your Orders </a> </li> <li> <a href=""> Shipping Rates & Policies </a> </li> <li> <a href=""> Amazon Prime </a> </li> <li> <a href=""> Returns & Replacements </a> </li> <li> <a href=""> Help </a> </li> </ul> </div> <div class="col-md-3"> <h3> INFORMATION </h3> <ul> <li> <a href=""> About Us </a> </li> <li> <a href=""> Careers </a> </li> <li> <a href=""> Sell on shop </a> </li> <li> <a href=""> Press & News </a> </li> <li> <a href=""> Competitions </a> </li> <li> <a href=""> Terms & Conditions </a> </li> </ul> </div> <div class="col-md-3"> <h3> OUR SHOP </h3> <ul> <li> <a href=""> Daily Deals </a> </li> <li> <a href=""> App Only Deals </a> </li> <li> <a href=""> Our Hottest Products </a> </li> <li> <a href=""> Gift Vouchers </a> </li> <li> <a href=""> Trending Product </a> </li> <li> <a href=""> Hot Flash Sale </a> </li> </ul> </div> </div> </div> <div class="container"> <div class="follow_container"> <div class="row"> <div class="col-md-9"> <div class="app_container"> <h3> DOWNLOAD OUR APPS </h3> <div> <img src="assets/images/google-play.png" alt=""> <img src="assets/images/apple-store.png" alt=""> </div> </div> </div> <div class="col-md-3 "> <div class="info_social"> <div> <a href=""> <img src="assets/images/fb.png" alt=""> </a> </div> <div> <a href=""> <img src="assets/images/twitter.png" alt=""> </a> </div> <div> <a href=""> <img src="assets/images/linkedin.png" alt=""> </a> </div> <div> <a href=""> <img src="assets/images/instagram.png" alt=""> </a> </div> </div> </div> </div> </div> </div> </section> <!-- end info section --> <!-- footer section --> <section class="container-fluid footer_section"> <p> Copyright © 2023 All Rights Reserved By <a href="https://therichpost.com/">Jassa</a> </p> </section> <!-- footer section --> </template> <script> export default { }; </script>
6. Guys please add below code inside index.html file:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="author" content="Oluwafemi Olukoya"> <meta name="description" content="Are you looking for new clothes to wear in the summer season? Buy-it online store has got you covered. We sell the best quality products for an affordable price that fits your budget."> <link rel="icon" href="<%= BASE_URL %>favicon.ico" /> <!-- <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" /> --> <title> Buy-It Online Store - Online Fashion Store </title> <link rel="stylesheet" href="assets/css/bootstrap.css" /> <link rel="stylesheet" href="assets/css/style.css" /> <link rel="stylesheet" href="assets/css/responsive.css" /> <!-- fonts style --> <link href="https://fonts.googleapis.com/css?family=Dosis:400,500|Poppins:400,700&display=swap" rel="stylesheet" /> </head> <body> <noscript> <strong> We're sorry but Buy-It Online Store - Online Fashion Store doesn't work properly without JavaScript enabled. Please enable it to continue. </strong> </noscript> <div id="app"></div> <!-- built files will be auto injected --> <script src="assets/js/jquery-3.4.1.min.js"></script> <script src="assets/js/bootstrap.js"></script> <script> function openNav() { document.getElementById("myNav").style.width = "100%"; } function closeNav() { document.getElementById("myNav").style.width = "0%"; }</script> </body> </html>
Now we are done friends also and If you have any kind of query or suggestion or any requirement then feel free to comment below.
Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements. For better understanding must watch video above.
I will appreciate that if you will tell your views for this post. Nothing matters if your views will be good or bad.
Jassa
Thanks
Recent Comments