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/
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.
- β‘ 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
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
- Displays Home, Shop, and Product Detail pages
- Uses Pinia for product state management
- Uses Vue Router for navigation
- Fully responsive with Tailwind CSS
- Created for future admin panel features
- No pages or logic yet β only layout structure defined
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