I need to deploy a Quasar spa app to Azure using devops.
I get an error on build step. I created npm job with build command "quasar build". But npm runs "npm quasar build".
What is the right way to deploy quasar prosjects on azure?
First please install Quasar CLI
and then run quasar build
:
- script: |
npm install -g @quasar/cli
npm install
quasar build
workingDirectory: $(Build.SourcesDirectory)
displayName: 'install Quasar CLI and build app'
If you use YAML pipeline please just copy paste this. If you use classic pipeline please add powershell step:
Please check your working directory to be sure that you are in your root folder.