Why donate
API Explorer
Upgrade Guide
Creating a New Project
The /quasar.config File
Convert q/app-webpack Project
Browser Compatibility
TypeScript Support
Directory Structure
Commands List
CSS Preprocessors
Page Routing with VueRouter
Lazy Loading - Code Splitting
Handling Assets
Boot Files
Prefetch Feature
API Proxying
Handling Vite
Handling import.meta.env
State Management with Pinia
Lint and Format Code
Testing & Auditing
Developing Mobile Apps
Fetching Data
Opening Dev Server To Public
Quasar CLI with Vite - @quasar/app-vite v3
SSR with TypeScript

When SSR mode is added to a TypeScript project, Quasar scaffolds TypeScript files in /src-ssr. If the project was converted to TypeScript after SSR mode was added, rename the .js files in /src-ssr to .ts and apply the required type annotations.

Check the SSR Webserver and SSR Middleware pages for examples with TypeScript.

Depending on the webserver of your choice, you may also need to additionally install @types/* packages into your /src-ssr folder.