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

Add usage example, fix build for use with bundlers and browser #552

Merged
merged 13 commits into from
Apr 6, 2023

Conversation

JosephusPaye
Copy link
Owner

@JosephusPaye JosephusPaye commented Jan 20, 2023

This PR adds an example Vite project to test the usage of Keen UI:

  • using Vite with Keen UI's default and named exports
  • using Vite with Keen UI's lib exports
  • using Vite with imports from Keen UI's src/ folder
  • using a global script tag
Currently a work in progress, **help welcome**. Status:
  • Using the default and named export from Keen UI works, but has no styles
  • Using the lib/ export doesn't work yet
  • Using imports from keen-ui/src/ folder doesn't work yet
  • Haven't added usage example with a global script tag, but it'll be something like this: script-tag-usage-example.zip from some testing I did recently

Edit: All done thanks to help from @kilobyte2007!

See the usage example README for how to run it.

@kilobyte2007
Copy link
Contributor

Hey @JosephusPaye,
Do you need any help with this PR?

@JosephusPaye
Copy link
Owner Author

JosephusPaye commented Mar 14, 2023

Yes definitely. Feel free to help with this.

@JosephusPaye JosephusPaye marked this pull request as ready for review April 6, 2023 11:23
@JosephusPaye JosephusPaye changed the title Add usage example, fix built files for use with bundlers and in the browser Add usage example, fix build for use with bundlers and browser Apr 6, 2023
@JosephusPaye JosephusPaye merged commit 49f37ce into next Apr 6, 2023
4 checks passed
@JosephusPaye JosephusPaye deleted the paye/built_files_usage_example branch April 6, 2023 11:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants