Learn Graph Theory with interactive lessons and hands-on exercises.
- Nuxt - Progressive Vue.js framework
- Nuxt Content - File-based content management system within Nuxt
- D3.js - A library for creating custom interactive data visualizations
- VueUse - Collection of Vue Composition Utilities
- TailwindCSS - Utility-first CSS framework
- DaisyUI - Component library for Tailwind CSS
- UnoCSS - Providing pure CSS icons
- Typescript - Strongly typed JavaScript
- Vitest - Unit testing powered by Vite
- Vue Test Utils - Testing utility library for Vue.js
- ESLint - A linting tool for identifying and fixing problematic patterns
- Prettier - An opinionated code formatter
- pnpm - Fast, disk space efficient package manager
Clone the project, go to the project directory
git clone https://github.com/TomatoGuy0502/nuxt-graph
cd nuxt-graph
Install the dependencies
# pnpm
pnpm install
# npm
npm install
# yarn
yarn install
Start the development server on http://localhost:3000
pnpm run dev
Testing the application
pnpm run test
# With coverage
pnpm run test --coverage.enabled
Build the application for production:
pnpm run generate
Locally preview production build:
pnpm run preview
βββ assets # All the assets that the build tool will process.
β βββ css
β βββ svg
βββ components # Vue components
β βββ content # Components that used in .md file
β βββ d3 # Components that related to the graph
βββ composables # Vue composables
βββ content # Files that will be read by Nuxt Content
β βββ 1.basic
β βββ 2.representation
β βββ 3.algorithm
βββ layouts # Layout file for different pages
βββ pages # All the pages(routes)
β βββ tutorial
β βββ algorithm
β βββ basic
β βββ representation
βββ public # Contains public files(e.g. favicon.ico)
βββ test
βββ utils # Helper functions
βββ app.vue # Main component of Nuxt 3 application
βββ index.d.ts # For typing custom page metadata
βββ nuxt.config.ts # Nuxt configuration
βββ package.json # Contains all the scripts and dependencies
βββ prettier.config.js # Prettier configuration
βββ tailwind.config.js # Tailwind CSS configuration
βββ tsconfig.json # TypeScript configuration
βββ uno.config.ts # UnoCSS configuration
βββ vitest.config.ts # Vitest configuration