Skip to content

A modern e-commerce UI built with Vue 3, TypeScript, and Tailwind CSS, featuring responsive design, product listing, category section, and custom icon styling.

Notifications You must be signed in to change notification settings

devity84pro/Smart-Vue-Project

Repository files navigation

🍭 Goodiset Swedish Candy

A modern Vue 3 project built with TypeScript, Pinia, Vue Router, and Tailwind CSS β€” showcasing a sweet collection of Swedish candies.
This project features two main layouts (Default & Admin) and includes product listing and detail pages. Cart and other dynamic features will be added in future updates.

🌐 Live Demo: https://goodiset-sweedish-candy.netlify.app/


πŸ“– Project Overview

Goodiset Swedish Candy is a responsive and scalable web project designed to demonstrate Vue 3’s Composition API, routing, and state management with Pinia.
The app currently focuses on displaying candy products with detailed views and separates layout logic for user-facing and admin sections.


🧩 Tech Stack

  • ⚑ Vue 3 – Composition API
  • 🧠 TypeScript – Type-safe coding
  • πŸ“¦ Pinia – Centralized state management
  • 🧭 Vue Router – Navigation and route-based layouts
  • 🎨 Tailwind CSS – Modern, responsive styling
  • ☁️ Netlify – Hosting and deployment

🧱 Project Structure

πŸ—‚οΈ Project Folder Structure

Goodies-Swedish-Candy/ β”‚ β”œβ”€β”€ public/ # Public assets (images,icons served directly) β”‚ β”œβ”€β”€ src/
β”‚ β”‚ β”‚ β”œβ”€β”€ components/ # Reusable UI components β”‚ β”‚ β”‚ β”œβ”€β”€ layouts/ # App layouts β”‚ β”‚ β”œβ”€β”€ DefaultLayout.vue # Public pages (Home, Shop, Product Detail) β”‚ β”‚ └── AdminLayout.vue # Admin dashboard layout β”‚ β”‚ β”‚ β”œβ”€β”€ pages/ # Page components β”‚ β”‚ β”œβ”€β”€ Home.vue β”‚ β”‚ β”œβ”€β”€ Shop.vue β”‚ β”‚ β”œβ”€β”€ ProductDetail.vue β”‚ β”‚ β”œβ”€β”€ Dashboard.vue β”‚ β”‚ └── PageNotFound.vue β”‚ β”‚ β”‚ β”œβ”€β”€ router/ # Vue Router setup β”‚ β”‚ └── index.ts | | └── routes.ts
β”‚ β”‚ β”‚ β”œβ”€β”€ store/ # Pinia stores β”‚ β”‚ └── productStore.ts β”‚ β”‚ β”‚ β”œβ”€β”€ types/ # TypeScript interfaces and types β”‚ β”‚ β”‚ β”œβ”€β”€ utils/ # Helper functions (future use) β”‚ β”‚ β”‚ β”œβ”€β”€ App.vue # Root component β”‚ └── main.ts # Application entry point β”‚ └── style.css # Css β”œβ”€β”€ .gitignore β”œβ”€β”€ index.html β”œβ”€β”€ package.json β”œβ”€β”€ package-lock.json β”œβ”€β”€ tsconfig.json β”œβ”€β”€ vite.config.ts └── README.md


✨ Features

🏠 Default Layout

  • Displays Home, Shop, and Product Detail pages
  • Uses Pinia for product state management
  • Uses Vue Router for navigation
  • Fully responsive with Tailwind CSS

πŸ§‘β€πŸ’Ό Admin Layout (Setup Only)

  • Created for future admin panel features
  • No pages or logic yet β€” only layout structure defined

βš™οΈ Setup Instructions

Follow these steps to run the project locally:

# Clone the repository
git clone https://github.com/Ayehsa-Siddiqa/Goodies-Sweedish-Candy.git

# Navigate into the project directory
cd Goodies-Sweedish-Candy

# Install dependencies
npm install

# Run local development server
npm run dev

Then open http://localhost:5173
 in your browser.


 🧠 Future Improvements

πŸ›’ Add to Cart functionality
🧾 Checkout and order pages
πŸ” Admin panel development (using AdminLayout)
🌍 API integration for real-time product data



πŸ‘©β€πŸ’» Author
Ayesha Siddiqa
Frontend Developer | Vue.js & TypeScript Enthusiast

🌐 Live Demo: https://goodiset-sweedish-candy.netlify.app/
πŸ’» GitHub: https://github.com/Ayehsa-Siddiqa

About

A modern e-commerce UI built with Vue 3, TypeScript, and Tailwind CSS, featuring responsive design, product listing, category section, and custom icon styling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors