In most of the time, we are going to generate a dynamic page rather than this static page.
So we need another package to help and which is the X and why do we need to use the X?
Because if we do not use the gas, then we have to write a code like this, and if we have to register
and we can simply do some thing like this and we just about the very bold and then we just about the
two of us variable here and this page to the page.
So first thing first, we have to install the gas by using NPM, install X, and then in order to set
the X as the real engine, we have to go to the airport.
Yes.
And right before the laptop listens, we type Abdulbaset and we'll Andrian and X.
Now we already start the engine as X and we have to put the file inside a folder and then we just winamp
this as X File.
And then instead of sending the file, we are going to digitise and replace it with render and invest
and we just need to type to find them without the eggs.
So we do the same here.
We type render and put it on.
And yeah, we also need to replace we have to error page by using render error.
So now we can try to run the app by using the Common App.
Now, if we go to localhost, we have got three thousands and you can see these exactly the same as
before, so we can go to the item page and here we can go back to the homepage because we also need
to change the POV.
And at the end that and here we also need to change these two for us and.
At the other page, we also need to do the same.
So now if we refreshed a page and click on the item and click on the logo again, you can go back to
the home page and if you type something that exists, it will go to the error page.