We are excited to announce the general availability of support for single-page applications (SPAs) with Power Pages, starting with site version 9.8.1.x and later. With this release, you can build modern, client-side rendered sites using React, Angular, or Vue and deploy them directly to Power Pages using the Power Platform CLI.
Since the launch of the preview, we’ve heard the feedback from developers who want to bring modern front-end frameworks to Power Pages while still benefiting from built-in authentication, Web API access, and Dataverse integration. Today’s GA release makes that experience production ready.
What’s new in this release
- Generally available: SPA support is now production-ready and fully supported, starting with site versions 9.8.1.x and later.
- Styling fixes: We’ve resolved issues where Power Pages platform styles could override your custom CSS.
- Improved documentation: Updated guidance for authentication configuration and local development setup.
Pro tips for SPA development
Disable profile page redirect for SPAs
By default, Power Pages redirects users to the built-in profile page (/profile) after login. For SPA website, this redirect can disrupt your app’s navigation flow. Disable it by adding this site setting:
| Setting name | Value | Description |
|---|---|---|
Authentication/Registration/ProfileRedirectEnabled | false | Disables redirect to profile page after login |
After updating this setting, users are redirected to the returnUrl specified in your login form, which defaults to the current page or your app’s home page.
Set up local development
You can run your SPA locally with full authentication and Web API access to accelerate your development cycle. This means JavaScript hot reload, local debugging, and immediate feedback without deploying changes to your portal every time. For step-by-step instructions, see Set up local development for SPA sites.
Resources
We are looking for your feedback
Your feedback helps us improve the developer experience on Power Pages. Share your thoughts and reach out on the Power Pages Community Forum. You can also submit ideas through the Power Pages Ideas portal.