Fomantic-UI
Fomantic-UI copied to clipboard
[FUI-LESS] Missing Javascript
Feature Request
Description
The LESS package is missing the distributed Javascript that can be found in the normal package. I was under the impression that the existence of the LESS package was to give access to the LESS files if one does not wish to use the installation method. It is not clear that it also is built under the assumption that people using it are expected to reimplement your Javascript build process, as well, if they wish to import the Javascript.
I've actually been trying to use Laravel Mix which is built around Webpack with the philosophy of not having to duplicate an entire package into a project to use its assets. Since I'm not an expert Webpack user, this is tedious, and there is no documentation on how to import [Se/Fo]mantic's Javascript library that I could find.
The LESS package does actually include the JavaScript modules their just located in a different place compared to the other packages. https://github.com/fomantic/Fomantic-UI-LESS/tree/master/definitions/modules
That's understood. It means however having to import each file individually even if using the full JS, and it also means that, since it's not described as the main file, it's not supported in the extract feature to pull its resources into a vendor script separate from the application script.
@alanondra did you find a better solution to this, or did you have an example of how you used it with Laravel mix?