You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React replaced component with 'element'. Replace the Route tag with this: <Route path='/' exact element={<Home/>} />
Replace his video tag with the new version: <video src={videos} autoPlay loop muted />
And on the top of the page import the video you want (move the video and image folder from public to src): import videos from '../videos/welcome.mp4'
The text was updated successfully, but these errors were encountered:
Thank you for this! However, currently trying to follow along with this tutorial and having trouble now -- i made these changes but seems it still won't show up on my end ): any other suggestions? I'm on React Router V6
Replace Switch tags with Routes.
React replaced component with 'element'. Replace the Route tag with this:
<Route path='/' exact element={<Home/>} />
Replace his video tag with the new version:
<video src={videos} autoPlay loop muted />
And on the top of the page import the video you want (move the video and image folder from public to src):
import videos from '../videos/welcome.mp4'
The text was updated successfully, but these errors were encountered: