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

use python-webpack-boilerplate #217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michael-yin
Copy link

Use python-webpack-boilerplate to import flowbite to Django

@zoltanszogyenyi
Copy link
Member

Hey @michael-yin,

Thanks for your contribution.

Can you please explain what the change is about, how will it affect the current setup and how is it better than the previous one?

I see that it's pretty nice that you've included Webpack into the configuration (which we also use), I just want to make sure that this is a change that will be stable and makes sense.

Thanks a lot!

@michael-yin
Copy link
Author

@zoltanszogyenyi

python-webpack-boilerplate is inspired by rails Webpacker, it help developers to create frontend project which is bundled by Webpack, and also has code linting, so developers can get it working without touching tedious config.

The project also has npm run start command, which can let developers use auto reload feature. If user edit Django templates, the web page on the browser will auto refresh, which is convenient.

What is more, it can also be used with Flask, which means Flask users can also use Tailwind CSS and flowbite in convenient way.

I agree we can treat this as secondary or advanced solution.

@michael-yin
Copy link
Author

michael-yin commented Jul 28, 2022

Hi, @zoltanszogyenyi

After think, I think we can publish the doc in this way

  1. The doc has URL https://flowbite.com/docs/getting-started/advanced-django/
  2. It will not exist in the left sidebar.
  3. In the header and footer of https://flowbite.com/docs/getting-started/django/ , we add some words and a link to the advanced-django tutorial

If you want a complete solution with Tailwind CSS and modern Javascript, please take a look at the Advanced Tailwind CSS Django - Flowbite

Is that ok for you?

Thx.

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.

2 participants