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 Vite example #2

Merged
merged 2 commits into from Jun 2, 2022
Merged

Add Vite example #2

merged 2 commits into from Jun 2, 2022

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented May 25, 2022

Vite example referenced in twbs/bootstrap#36412.

@julien-deramond julien-deramond marked this pull request as draft May 25, 2022 21:29
@mdo
Copy link
Member

mdo commented Jun 2, 2022

Pushed a few changes to bring it in line with the other examples. Agreed we have some redundancy here, which might bite us later, but I like showing a few things all at once in these:

  1. You can import just what you need, but you can also import everything.
  2. You can create custom components on top of Bootstrap's CSS and JS.
  3. You can customize Bootstrap's default styles.

Updating later won't be too much of an issue IMO—find and replace, some simple scripts, etc.

@mdo
Copy link
Member

mdo commented Jun 2, 2022

And confirmed this works locally too!

@mdo mdo merged commit cf549cd into main Jun 2, 2022
@mdo mdo deleted the main-jd-add-vite-example branch June 2, 2022 01: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