ssr tramvai application
Run installation with selected package manager npm install
npm start
- run development servernpm 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 guidlines 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