0.4.0 • Published 3 years ago

carinthia v0.4.0

Weekly downloads
6
License
MIT
Repository
-
Last release
3 years ago

carinthia

follow links, morph the dom

inspiration

assumptions

  • all pages load same css & js files, e.g. have same head element except

limitations

  • currently this only works for links, a tag with valid href attribute

how to use it with SPA frameworks like vue

document.addEventListener('carinthia:load', () => {
  createApp(App).mount('#app')
})
  • ensure Vue app bundle is present on all pages, or else it won't work if coming from a page that doesn't include it
  • if you want your client side app generated links to also work, add x-carinthia-enhance attribute to app's root element

todo

0.4.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago