Skip to content

fix: port decoder to LNbits v1.5.4 SPA/Vue Router architecture#18

Merged
bitkarrot merged 1 commit into
mainfrom
fix/lnbits-v1.5.4-spa-compat
Jun 22, 2026
Merged

fix: port decoder to LNbits v1.5.4 SPA/Vue Router architecture#18
bitkarrot merged 1 commit into
mainfrom
fix/lnbits-v1.5.4-spa-compat

Conversation

@bitkarrot

Copy link
Copy Markdown
Owner
  • Add static/routes.json for client-side route registration
  • Add static/js/index.vue (template) and static/js/index.js (component)
  • Update views.py to use lnbits.core.views.generic.index
  • Export decoder_ext in init.py all
  • Bump version to 1.1.0, min_lnbits_version to 1.5.0

LNbits v1.5.x switched to a Vue Router SPA architecture where extensions register routes via routes.json instead of using Jinja template rendering. The old pattern caused a 404 on routes.json and the extension failed to load.

- Add static/routes.json for client-side route registration
- Add static/js/index.vue (template) and static/js/index.js (component)
- Update views.py to use lnbits.core.views.generic.index
- Export decoder_ext in __init__.py __all__
- Bump version to 1.1.0, min_lnbits_version to 1.5.0

LNbits v1.5.x switched to a Vue Router SPA architecture where extensions
register routes via routes.json instead of using Jinja template rendering.
The old pattern caused a 404 on routes.json and the extension failed to load.

Co-authored-by: Shelley <shelley@exe.dev>
@bitkarrot bitkarrot merged commit f367dfc into main Jun 22, 2026
3 of 6 checks passed
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

Successfully merging this pull request may close these issues.

1 participant