A very common reason is a wrong site baseUrl configuration.\n Current configured baseUrl = /static-web-apps-cli/ \n We suggest trying baseUrl = \n\n';var e=document.getElementById("docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,r="/"===s.substr(-1)?s:s+"/";e.innerHTML=r}}window.__DOCUSAURUS_INSERT_BASEURL_BANNER=!0,document.addEventListener("DOMContentLoaded",maybeInsertBanner) Skip to main contentIf you like SWA CLI, give it a star on GitHub and follow us on TwitterSWA CLIGet StartedAboutDocsContributeStackOverflowStatic Web Apps CLIAll-in-One Local Development Tool For Azure Static Web AppsGet Started →InstallInstall the Azure Static Web Apps CLIusing yarn or npm.InitSetup your projectusing swa initLoginAuthenticate with Azure services using swa login StartPreview and debug your static web app using swa start.Deploy SWA (cloud)Build/deploy to multiple environments using swa deployConfigureSetup environment variablesand config settings.
Current configured baseUrl = /static-web-apps-cli/ \n We suggest trying baseUrl = \n\n';var e=document.getElementById("docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,r="/"===s.substr(-1)?s:s+"/";e.innerHTML=r}}window.__DOCUSAURUS_INSERT_BASEURL_BANNER=!0,document.addEventListener("DOMContentLoaded",maybeInsertBanner) Skip to main contentIf you like SWA CLI, give it a star on GitHub and follow us on TwitterSWA CLIGet StartedAboutDocsContributeStackOverflowStatic Web Apps CLIAll-in-One Local Development Tool For Azure Static Web AppsGet Started →InstallInstall the Azure Static Web Apps CLIusing yarn or npm.InitSetup your projectusing swa initLoginAuthenticate with Azure services using swa login StartPreview and debug your static web app using swa start.Deploy SWA (cloud)Build/deploy to multiple environments using swa deployConfigureSetup environment variablesand config settings.
We suggest trying baseUrl = \n\n';var e=document.getElementById("docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,r="/"===s.substr(-1)?s:s+"/";e.innerHTML=r}}window.__DOCUSAURUS_INSERT_BASEURL_BANNER=!0,document.addEventListener("DOMContentLoaded",maybeInsertBanner) Skip to main contentIf you like SWA CLI, give it a star on GitHub and follow us on TwitterSWA CLIGet StartedAboutDocsContributeStackOverflowStatic Web Apps CLIAll-in-One Local Development Tool For Azure Static Web AppsGet Started →InstallInstall the Azure Static Web Apps CLIusing yarn or npm.InitSetup your projectusing swa initLoginAuthenticate with Azure services using swa login StartPreview and debug your static web app using swa start.Deploy SWA (cloud)Build/deploy to multiple environments using swa deployConfigureSetup environment variablesand config settings.
All-in-One Local Development Tool For Azure Static Web Apps
Install the Azure Static Web Apps CLIusing yarn or npm.
Setup your projectusing swa init
Authenticate with Azure services using swa login
Preview and debug your static web app using swa start.
Build/deploy to multiple environments using swa deploy
Setup environment variablesand config settings.