I created a React JS application.
How can I execute this on NetSuite Suitelet? Can you provide some examples? Thanks!
Here's a sample of index.js and App.js file I want to show on my Suitelet.
index.js
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<App />);
App.js
import Todo from './components/Test';
function App() {
return (
<div>
<h1>Test</h1>
<Test text='Test Project' />
</div>
);
}
export default App;