mirror of
https://github.com/knadh/listmonk.git
synced 2025-01-06 14:24:58 +08:00
97583fe4b4
- antd+react was resulting in extremely clunky and unreadable spaghetti frontend code (primarily due to how antd is). - Buefy is lighter by an order of magnitude, has excellent responsive views (especially tables) and usability. - Vue's templating produces far more readable template code.
1 KiB
Vendored
1 KiB
Vendored
listmonk frontend (Vue + Buefy)
It's best if the listmonk/frontend
editor is opened in an IDE as a separate project where the frontend directory is the rool of the project.
Icon pack
Buefy by default uses Material Design Icons (MDI) with icon classes prefixed by mdi-
.
listmonk uses only a handful of icons from the massive MDI set packed as web font, using Fontello. To add more icons to the set using fontello:
- Go to Fontello and drag and drop
frontend/fontello/config.json
(This is the full MDI set converted from TTF to SVG icons to work with Fontello). - Use the UI to search for icons and add them to the selection (add icons from under the
Custom
section) - Download the Fontello pack and from the ZIP:
- Copy and overwrite
config.json
tofrontend/fontello
- Copy
fontello.woff2
tofrontend/src/assets/icons
. - Open
css/fontello.css
and copy the individual icon definitions and overwrite the ones infrontend/src/assets/icons/fontello.css
- Copy and overwrite