Some feedback from who is getting started…
-
The default milligram CSS framework is classless, but not featured. I spent 2 days just trying to switch to bootstrap and make it to work. One example Bootstrap has a great navbar(works great on mobile) and other components. Why not bootstrap by default? If advanced users want to go with another classless framework they will know how to change. Bootstrap has support ARIA by default and all examples include the aria attributes.
-
it was really confusing the fact that package.json is within assets dir. When trying to make the bootstrap modal to work I did execute yarn add bootstrap jquery popper.js in the root. I could include bootstrap somehow, the styles worked(perhaps because of live dashboard?). Then, I figured that out I need to include in the package.json within the assets dir.
-
Bootstrap modal was a little bit tricky to keep the fade effect working. I had to ensure the modal was at the DOM and toggle it using
phx-hook
, it worked. But, now the form fields lost reference somehow and there is no error. -
Documentation is great, well written, I am reading it slowly but already trying to code it. If it had the support to bootstrap by default my project was already done.
Really fast prototyping except by the CSS framework.