Comments (5)
I understand that you probably want to render the index.html so it looks more appealing
Exactly.
Maybe the app service returns a static array of benefits of NestJS which then get rendered by the index.html?
In this case, we would have to add some template engine whereas I tried to keep this sample as simple as possible Any ideas what could we do instead? I agree that it definitely doesn't show nest benefits.
from nestjs.com.
I tried to keep this sample as simple as possible
That does totally make sense. Unfortunately to me it seems like there is no other good way other than using a template rendering engine.. Maybe adding this to the example would not be too bad of an idea, because as a newcomer you can directly see that NestJS is using express as underlying HTTP client. Seeing that you can easily modify the express instance was also one of the points which made me jump onto NestJS back then :)
from nestjs.com.
I updated the example. Would you mind to take a look? :)
from nestjs.com.
Looking real good, clean, simple and usable.
One teeny tiny thing; seems like an uneeded import slipped in main.ts
: import { join } from 'path';
:)
from nestjs.com.
Fixed!
from nestjs.com.
Related Issues (14)
- resources in homepage requested in a loop HOT 1
- Can be accessed using http:// HOT 1
- Nestjs.com landing page styling issue HOT 2
- not current date HOT 1
- update favicons HOT 3
- Your website HOT 6
- small scroll on tablet HOT 2
- Missing page - cookies HOT 2
- Dependency Dashboard
- Course fix suggestion - 'Add PostgreSQL with TypeORM: Using repository to Access Database'
- Wrong redisStore cache documentation HOT 1
- StackBlitz src/app.controller.spec.ts `getHello` unit test failing HOT 1
- upgrade the live preview demo project from v8 to nestjs v10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestjs.com.