imba / imba.io

📄The official website of Imba
http://imba.io
MIT License
80 stars 37 forks source link

add incremental adoption guide and clean up other guides #255

Closed familyfriendlymikey closed 2 years ago

familyfriendlymikey commented 2 years ago

Pending https://github.com/imba/imba/pull/746 and https://github.com/imba/imba/issues/747

familyfriendlymikey commented 2 years ago

Thanks for taking the time to review and make suggestions earlier by the way Abdellah, really appreciate it.

familyfriendlymikey commented 2 years ago

I would like to make sure these are accurate?

imba is automatically defined on the globalThis object whenever an Imba tag is registered. So as long as you import an Imba file that contains a tag, globalThis.imba will be defined.

as long as an Imba file containing tags gets imported, its custom elements will be registered.

familyfriendlymikey commented 2 years ago

@haikyuu this should be good to go after https://github.com/imba/imba/pull/746, I think it would be good to get it in before ViteConf.