Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ricog/3c28ae9214fdff10e06247116d8a87ef to your computer and use it in GitHub Desktop.
Save ricog/3c28ae9214fdff10e06247116d8a87ef to your computer and use it in GitHub Desktop.
Deploy Quasar Framework using AWS Amplify Console
  1. Modify build image settings to use the node:12 image (see screenshot below).
  2. Replace the amplify.yml file in the console with this one.

This will start the build using node:12, install Quasar CLI, run quasar build and speficy dist/spa as the output directory.

image

version: 1
backend:
phases:
build:
commands:
- '# Execute Amplify CLI with the helper script'
- amplifyPush --simple
frontend:
phases:
preBuild:
commands:
- npm install -g @quasar/cli
- yarn install
build:
commands:
- quasar build
artifacts:
baseDirectory: dist/spa
files:
- '**/*'
cache:
paths:
- node_modules/**/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment