Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An example without referring to dist directory #5

Closed
muke5hy opened this issue Jul 23, 2022 · 1 comment
Closed

An example without referring to dist directory #5

muke5hy opened this issue Jul 23, 2022 · 1 comment

Comments

@muke5hy
Copy link

muke5hy commented Jul 23, 2022

It would be great to have an example without importing anything from the dist folder.

Currently the following line is being imported in example/src/call-to-action.island.tsx file

import { createIsland } from '../../dist/index.module'

@mwood23
Copy link
Owner

mwood23 commented Aug 25, 2022

@muke5hy I don't want to alter the example folder to rely on the package from NPM because it's valuable for development and it allows folks to log around the code to see how it works easily. However, it is a good amount of leg work in order to get going with the repo so I've built a starter that bootstraps a zero config multi island project.

This should have everything you need to get started! 🚀

https://github.com/mwood23/preact-island-starter

@mwood23 mwood23 closed this as completed Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants