How to migrate script tag to a modern vite app
I created my resume on https://dev.sambarnades.com using a Bootstrap model. Now, i would want to re-adapt that website and power it on Netlify with Sanity as headless CMS in order to easily & visually modify it through Netlify. I created a react-vite app thanks to : npm create vite@latest Then, I copied & past the content, adapting it to .jsx format. But it seems the former script tags aren't read by this new vite app format. index.html (where is pointing the React app.jsx) app.jsx (where I copied my content.) function App() { return ( ... all the code ... ) } export default App I should see the exact same content as on https://dev.sambarnades.com but instead of it, I only see this picture & blank content. It seems that all the content which is driven by the tags is not interpreted. I will be very glad to have ideas & advice about this issue. Thanks!
I created my resume on https://dev.sambarnades.com using a Bootstrap model.
Now, i would want to re-adapt that website and power it on Netlify with Sanity as headless CMS in order to easily & visually modify it through Netlify.
I created a react-vite app thanks to :
npm create vite@latest
Then, I copied & past the content, adapting it to .jsx format.
But it seems the former script tags aren't read by this new vite app format.
index.html (where is pointing the React app.jsx)
app.jsx (where I copied my content.)
function App() {
return (
<>
... all the code ...