Example application with View Transitions API support. Based on Astro Records.
Run installation with selected package manager yarn
yarn start
- run development serveryarn build
- production build
src
- application source codeindex.ts
- application entry point, where all tramvai modules are connectedpostcss.js
- postcss configuration objectroutes
- application pagesshared
- reused modules of the application
We recommend follow feature-sliced methodology guidelines to structure application code.
@tramvai/module-server
- processing client requests, working with papi. Documentation@tramvai/module-render
- server-side html rendering and client-side hydration. Documentation@tramvai/module-router
- router integration in the application. Documentation