GithubHelp home page GithubHelp logo

staticwebdev / react-basic Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 59.0 1.82 MB

Home Page: https://docs.microsoft.com/azure/static-web-apps/getting-started?tabs=react

HTML 85.32% JavaScript 14.68%
azure-static-web-apps react

react-basic's Issues

Azure DevOps for build/release?

@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.

Routing doesn't support both client-side routing and /public static files

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.

TypeScript support

Can you create a TypeScript version of this template?

Also, vite is much better than cra so that would be even better.

Cannot submit to azure devops with vinalla or react

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.