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

django integration #8

Closed
devxpy opened this issue May 16, 2018 · 6 comments
Closed

django integration #8

devxpy opened this issue May 16, 2018 · 6 comments

Comments

@devxpy
Copy link
Contributor

devxpy commented May 16, 2018

Is there any way to integrate this with django currently?

If not, can I use this to spit out static html?

@frmdstryr
Copy link
Collaborator

Yes. You can create a LxmlApplication which has no server component and then render pages for any application (django, flask, etc..) or save them to a file to make a static site.

I pushed an example here https://github.com/codelv/enaml-web/tree/master/examples/static_site

@devxpy
Copy link
Contributor Author

devxpy commented May 16, 2018

Thanks!

@devxpy devxpy closed this as completed May 16, 2018
@devxpy
Copy link
Contributor Author

devxpy commented May 16, 2018

Can you please point me to the source that declares the Materialize components, I want to browse the API.

If possible I will shell out some time to generate automatic API docs

@frmdstryr
Copy link
Collaborator

Some of them are here https://github.com/codelv/enaml-web/blob/master/examples/simple_site/views/blocks.enaml

It would be really nice to have separate libraries with all of the components for the popular css frameworks (materialize, bootstrap, semantic-ui etc..).

@devxpy
Copy link
Contributor Author

devxpy commented May 16, 2018

It would be even nicer if we could write a code generator for this :D

@devxpy
Copy link
Contributor Author

devxpy commented May 16, 2018

Are you interested in uploading to pypi?

Please check out my pull request that'll make it easier for you to do it

#9

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