Understand the Project Architecture
masterThe project is built as a multi-context extension supporting various browser environments including background scripts, popups, options pages, content scripts, devtools, side panels, and offscreen pages.
Key architectural features include:
- File-Based Routing: UI routes are automatically registered based on the directory structure in
src/ui/*/pages. - Modular UI Stack: Uses Nuxt/UI v3 and shadcn-vue for components, styled with Tailwind CSS 4.
- State & Logic: Leverages Vue 3 Composition API, Pinia for state management, and custom composables for i18n, theme, and storage.
- Compatibility: Uses
webext-bridgeandwebextension-polyfillto ensure WebExtension API compatibility across different browsers.