Build Apps
This section will guide you through setting up a basic Qaravel documentation site from scratch.
Prerequisites
To get started with a Quasar application, you need to ensure you have the following prerequisites:
- Node 12+ for Quasar CLI with Webpack, or Node 14+ for Quasar CLI with Vite.
- To check your Node.js version, run
node -v
in a terminal/console window.
- To check your Node.js version, run
- Yarn v1 (strongly recommended), PNPM, or NPM.
- To check your Yarn version, run
yarn -v
in a terminal/console window.
- To check your Yarn version, run
Installing Quasar CLI
The Quasar CLI is used for project creation, generating application and library code, and various development tasks.
Install the Quasar CLI globally:
yarn global add @quasar/cli
yarn global add @quasar/icongenie
WARNING
On this project, we're using the latest Quasar version (currently 2.x). Please go to Quasar Capacitor documentation page for more information.
Build Apps
Modify .env.frontend.app-prod
# This is your .env.frontend.app-prod file
# The data added here will be propagated to the client
# example:
# PORT=9000
APP_ENV="Production"
APP_NAME="Qaravel"
APP_MODE=app
API_URL=https://api.your-domain-name.com
WARNING
To send push notifications to your users you need to Configure Firebase to make it work.
Build the andorid application by executing the following commands
yarn install
npm run build:android --env=prod
yarn install
npm run build:ios --env=prod
WARNING
Before we dive in to the actual development, we need to do some preparation work. Please go to Preparation for Capacitor App page for more information.