Project structure for vite-plugin-chrome-extension templates
mainWhen using the project template, the directory structure is organized to separate extension components (like popups, options, and content scripts) from static assets and configuration.
public/: Contains static files that are copied directly to the build output, including_locales/for internationalization,icons/for extension icons, andbrowser-extension.html(the default target HTML template).src/assets/: Contains static assets used within your application code (e.g., logos).src/content-scripts/: Contains logic for content scripts that run in the context of web pages.src/popup/,src/options/,src/devtools/,src/standalone/,src/override/: These directories house the specific UI components for different extension parts (Popup, Options page, DevTools, etc.), typically using a framework like Vue or Svelte.background.js: The service worker or background script for the extension.manifest.json: The core Chrome extension manifest file.