Supex Text LogoSupex Logo Mark

Public Folder

By default Supex will only include the build output of app folder in extension output. If you want to include an image or video in your extension output, please put them inside public folder.

Vanilla JSapp/action.jsx

import { createRoot } from 'react-dom/client';
        
const root = document.createElement('div');

function Action() {
    return <img src="public/beautiful.png" />;
}

document.body.appendChild(root);

createRoot(root).render(<Action />);