Open colinwilliams91 opened 11 months ago
/* src/main.ts */ async function bootstrap() { /* ... */ app.useStaticAssets(join(__dirname, '..', 'public')); // <-- for shared image/static assets app.setBaseViewsDir(join(__dirname, '..', 'views')); // <-- for `index.html` / views (components?) app.setViewEngine('hbs'); await app.listen(3000);
Need to research how to connect the FE.
Look into Angular since the CLI and MVC connectivities are so similar.
Angular
React
Static Assets:
Need to research how to connect the FE.
Look into Angular since the CLI and MVC connectivities are so similar.