staticwebdev / react-basic Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://docs.microsoft.com/azure/static-web-apps/getting-started?tabs=react
Home Page: https://docs.microsoft.com/azure/static-web-apps/getting-started?tabs=react
@craigshoemaker , Any plans to allow Azure DevOps git based repos to deploy to Status Web Apps?
Also, is the limit to only support JavaScript/TypeScript Azure Functions due to GitHub Actions/Workflows? can they be replaced with C# from a separate build/release pipeline?
Guess I'll have to test it.
Create React App / react-scripts are no longer actively maintained.
Please could we have the basic example updated to use Vite inline with the community, and the React Build Preset from the SWA dashboard work out of the box with Vite?
I have a React app using react-router-dom. I've been digging through the docs and as far as I can see, there's 2 route configs I can have are:
{
"routes": [
{
"route": "/*",
"serve": "/index.html",
"statusCode": 200
}
]
}
which does not allow me to serve any of my static content, or:
{
"routes": [
{
"route": "/*",
"serve": "/public",
"statusCode": 200
}
]
}
which doesn't support client-side routing.
If I do both, then it says that whichever is first overrides the second.
Is there a canonical pattern to support both requirements? Technically we don't actually support React if we can't do this.
Can you create a TypeScript version of this template?
Also, vite is much better than cra so that would be even better.
The build to the website works but uploading to azure devops fails.
I get the following error with the playtest .yaml default file:
/usr/bin/git push origin gh-pages
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/mspnp/intern-js-pipeline.git/'
Error: Action failed with "The process '/usr/bin/git' failed with exit code 128"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.