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

Fix product to work on Plone5 in production #47

Merged
merged 9 commits into from
Dec 13, 2019

Conversation

djowett-ftw
Copy link
Contributor

@djowett-ftw djowett-ftw commented Dec 9, 2019

Resolves #46

Also fixes #42 on click event for edit form tabs

- Rework JS for Plone5
- Move Plone's Select2 aside while running JS for this product
- Add select2 v4.0 into our bundle without inlining it in our source
  Note: we ensure correct ordering of the select2 libraries by using 'depends' on the bundle rather than 'require' in JS
- Rebuild with plone-compile-resources (added to test-plone-5.1 buildout)

This doesn't yet use the @buchi method (with yarn) for the JS compilation. That's on the way.

@djowett-ftw
Copy link
Contributor Author

:-( Oh - seems to still not work with bundles in production

@djowett-ftw djowett-ftw self-assigned this Dec 10, 2019
Daniel Jowett added 7 commits December 10, 2019 17:09
    Also Fix on click event for edit form tabs

    - Rework JS for Plone5
    - Move Plone's Select2 aside while running JS for this product
    - Add select2 v4.0 into our bundle without inlining it in our source
      Note: we ensure correct ordering of the select2 libraries by using 'depends' on the bundle rather than 'require' in JS
    - Rebuild with plone-compile-resources (added to test-plone-5.1 buildout)
…ect passed back from require call instead of the installed jquery plugin
@djowett-ftw djowett-ftw force-pushed the dj_fix_for_production_in_plone5 branch from 13b9aef to 2340347 Compare December 10, 2019 16:20
@djowett-ftw
Copy link
Contributor Author

This now uses yarn and works in a production setup (contrary to the notes above)

@djowett-ftw
Copy link
Contributor Author

@maethu quick question - while working on this I notice that the SCSS file is ahead of the CSS file, but there seems to be no generation of the latter from the former. How should this worK?

@maethu
Copy link
Contributor

maethu commented Dec 12, 2019

@djowett-ftw I kinda don't understand the question. We usually use scss and not css anymore. With ftw.theming wit use mostly scss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants