GithubHelp home page GithubHelp logo

Comments (3)

Janelaxagh avatar Janelaxagh commented on April 27, 2024

Apologies for the typo. Here's the revised content:

<!DOCTYPE html>
<html lang="en">
<head>
  <!-- React Refresh scripts for development -->
  <script type="module">
    import { injectIntoGlobalHook } from "/@react-refresh";
    injectIntoGlobalHook(window);
    window.$RefreshReg$ = () => {};
    window.$RefreshSig$ = () => (type) => type;
  </script>

  <!-- Vite development client script -->
  <script type="module" src="/@vite/client"></script>

  <meta charset="UTF-8" />
  <link rel="icon" type="image/*" href="/src/assets/images/android-chrome-512x512.png" />
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <!-- Your generated output.css -->
  <link href="/dist/output.css" rel="stylesheet" />
  
  <title>Avi Shihora</title>
</head>
<body>
  <div id="root"></div>
  
  <!-- Main React app script -->
  <script type="module" src="/src/main.jsx"></script>
</body>
</html>

This HTML file contains the foundational structure for your application, including linked React scripts, stylesheets, and the entry point for your application within the <div id="root"> tag. Additionally, it includes a stylesheet named output.css, which is located at /dist/output.css.
And the file name is output.css for some reason

from react.

mxmalykhin avatar mxmalykhin commented on April 27, 2024

Hi, I looked at your link and I think I found the reason for this issue in Vite. They offer several solutions. You can try updating the React plugin for Vite or try changing the env.

from react.

hoxyq avatar hoxyq commented on April 27, 2024

This doesn't look like a React DevTools problem, so I am going to close this. Please reopen if you can provide more context on this, including the reproducer.

from react.

Related Issues (20)

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.