Why donate
API Explorer
Upgrade guide
NEW!
The quasar.config file
Convert to CLI with Webpack
Browser Compatibility
Supporting TypeScript
Directory Structure
Commands List
CSS Preprocessors
Routing
Lazy Loading - Code Splitting
Handling Assets
Boot Files
Prefetch Feature
API Proxying
Handling Webpack
Handling process.env
State Management with Pinia
Linter
Testing & Auditing
Developing Mobile Apps
Ajax Requests
Opening Dev Server To Public
Quasar CLI with Webpack - @quasar/app-webpack
Directory Structure

This is the structure of a project with all modes installed. There’s no reason to be intimidated though!

TIP

If you are a beginner, all you’ll need to care about is the /quasar.config file (Quasar App Config file), /src/router, /src/layouts, /src/pages and optionally /src/assets.

public
# Pure static assets (directly copied)
assets/
# Dynamic assets (processed by Webpack)
components/
# .vue components used in pages & layouts
app.sass
quasar.variables.sass
# Quasar Sass variables for you to tweak
layouts/
# Layout .vue files
pages/
# Page .vue files
boot/
# Boot files (app initialization code)
index.js
# (or .ts) Vue Router definition
routes.js
# (or .ts) App Routes definitions
index.js
# (or .ts) Pinia initialization
<store>
# Pinia stores...
<store>...
App.vue
# Root Vue component of your App
src-ssr/
# SSR specific code (like production Node webserver)
src-pwa/
# PWA specific code (like Service Worker)
src-capacitor/
# Capacitor generated folder used to create Mobile Apps
src-cordova/
# Cordova generated folder used to create Mobile Apps
src-electron/
# Electron specific code (like "main" thread)
src-bex/
# BEX (browser extension) specific code (like "main" thread)
spa
# Example when building SPA
ssr
# Example when building SSR
electron
# Example when building Electron
...
quasar.config.js
# (or .ts) Quasar App Config file
index.html
# Template for index.html
.gitignore
# GIT ignore paths
.editorconfig
# EditorConfig file
eslint.config.js
# ESLint config
postcss.config.cjs
# PostCSS config
babel.config.js
# Babel config
jsconfig.json
# Editor config (if not using TypeScript)
tsconfig.json
# TypeScript config
package.json
# npm scripts and dependencies
README.md
# Readme for your website/App