-
Notifications
You must be signed in to change notification settings - Fork 0
Folder Structure
This section provides a detailed breakdown of the project's folder structure, explaining the purpose of each directory and how different components interact.
π¦ project-root
β£ π public # Static assets
β£ π src # Application source code
β β£ π components # Reusable Vue components
β β£ π core # Core utilities and helpers
β β£ π router # Vue Router configuration
β β£ π store # Pinia state management
β β£ π views # Page-level components
β β£ π main.ts # Entry point of the app
β£ π package.json # Project dependencies
β£ π tsconfig.json # TypeScript configuration
β£ π vite.config.ts # Vite configuration
This folder contains static assets such as icons and images that are directly accessible in the project.
The main source code of the application.
Contains reusable Vue components categorized into logical groups. Example:
π components
β£ π Base # Base UI components
β£ π Data # Geoserver Data listing components
β£ π Geostories # Geospatial storytelling components
β£ π Map # Mapping-related components
β£ π Participation # Citizen participation UI
Contains core utilities and helper functions that support various parts of the application.
π core
β£ π helpers # Utility functions for geospatial operations
Contains Vue Router configurations.
π router
β£ π index.ts # Defines app routes and navigation guards
Manages global state using Pinia.
π store
β£ π buffer.ts # Buffering-related state management
β£ π draw.ts # Drawing tools state management
β£ π filter.ts # Layer filtering state management
β£ π geoserver.ts # Geoserver interaction state
β£ π map.ts # Map-related state
β£ π participation.ts # Citizen Participation-related state
Defines page-level Vue components corresponding to different routes.
π views
β£ π MapView.vue # Main map page
β£ π ParticipationView.vue # Citizen Participation feature
The main entry point of the application where the Vue app is initialized.
- package.json β Manages dependencies and scripts.
- tsconfig.json β TypeScript configuration.
- vite.config.ts β Configuration for Vite, the project's build tool.
For more details on routing, state management, and UI components, explore their respective sections in the documentation.
Welcome to the TOSCA Wiki! You'll find both user and developer documentation here.