As far as I know, component import/export is not going to work with just the CDN link (without a build process). You will have to have all the components in index.js (or the HTML with a script element).
I would highly recommend you use Vite and not CDN links. Or an online editor like StackBlitz or CodeSandbox.