example-app tramvai application
Run installation with selected package manager yarn
npm start
- run development servernpm build
- production build
src
- application source codeindex.ts
- application entry point, where all tramvai modules are connectedvendor.ts
- file with vendor dependencies, will be extracted into a separate js chunkpostcss.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