In this video, we will see the latest features of Vite 8 with a complete React + TypeScript live demo.
You’ll learn how to set up a React application using Vite 8 and understand two of its most impactful updates for modern frontend development.
The first major feature is the Browser Forward Console, which allows frontend errors (previously visible only in the browser console) to now appear directly in your VS Code terminal. This significantly improves debugging workflows and unlocks new possibilities for AI-assisted development.
The second feature is TypeScript Path Alias Support, which simplifies import statements by eliminating complex relative paths like ../../components. With Vite 8, you can now use clean and scalable aliases.
⌛TIMELINE⏳ 0:00 - Introduction to Vite 8 0:20 - The Two Major Features We Are Implementing 0:58 - Installing React & TypeScript Using Vite 8 1:50 - Exploring the New Vite 8 Project Structure 2:20 - Writing React Code to Intentionally Trigger an Error 3:18 - Viewing the Client Error in the Browser Console 4:18 - Enabling server.forwardConsole: Browser Errors in VS Code 6:00 - Introduction to TypeScript Path Aliases in Vite 8 7:05 - Important Configuration Updates for Vite 8 8:28 - Updating tsconfig.app.json for Clean @/ Imports 9:50 - Outro & The Future of AI Coding Agents
AI Generated·May contain errors
Today in this video I'm going to show you a live demo of Lib
How you can now add the features introduced in Vue 8 to your project
Yes in yesterday's video I told you everything
We at Q have just received the best update ever in the world of Q
And the upheaval it has caused how exactly the front lines are about to shift
I told you everything—I explained how it teamed up with AI
I also told you about that — there were two such features here
I told you that if you write "Aagre you're writing Lib Demo " I'll go with you
And this number is a feature of the tap script
The second van has become far too aged for the best AI
The AI coding tools or agents now need your browser's error
Or perhaps it's one of those client-side errors you've been dealing with—now it's really getting annoying
We can easily red team right from our VyOS code's terminal
Whatever coding tool you use
So today I'm here to show you this feature
Live demo you're watching it right there on your screen
I wrote this Bible React Bible Tap script
I won't start with NPM I'll just do Defence that's all
I'm in I'm going inside the project
I'm writing this as NPM install
So you can see our installation is complete
NPM run and so on
I've told you you should be the one to handle this this run build should be yours
Now he's using one of those tools behind the scenes
And the first two were used twice
Check this out the video version will appear you'll see it
And this is from before
If I leave right now
from here then this
Here the price of Let's
570 how much is this
It's going at 75 okay
so you can see
at now you're starting to see things in this way
First look at Kai's how much it's changed
Its UI has already been changed here
So now I'll tell you
First of all regarding this server error
I'm copying it
my source
The file is the one with tsx
Remove this to complete as I'm pasting it here
Nothing at all very straightforward
This is just a code
I'm removing this for Philal
That was it before
but now you're seeing the magic
This is the parable
It will also appear on your terminal
Alright we're showing a normal one here
console log for display purposes
So I'm securing this with a kontules safe
Alright there's no problem here
I'm moving forward with my project this way
And this is it
I'm checking okay
So if I press this button
Click and see what happens
It came to me look here
Look here critical error no doubt about it
But look at this an unresolved reference error
This note is undefined
That was the same were the same
They looked in the same way
So now we quickly run it on our terminal
Something you will never ge
Here they have said "Eggs "
There are some parts that will require you to stand here
No this is not Parth—look here
Server dot forward console okay
Come here you
Walk over here
the package json file
Your config file is build config
here it is we have
this React plug
Now you'll need to run it on the server
Alright And what
was that dude
server forward console
It's auto-arriving here
I'll take care of it
I did it this way
Meaning that whatever was appearing to you there now
Any errors or warnings appearing on the
browser's console now show up for me
Here the forward will be made this ad will be posted
Alright guys just restart it
once okay Restart your application
Here I'm now clicking on it
So look here this is what I told you would show up
The best part is that now you finally have it
Look it's also appearing on the terminal—take a look here
That's how incredibly awesome isn't it
Imagine you're using an
AI code editor now finally
The server could clearly see the entire error
But the browser error that was occurring
the problem that was being created
I mean where's it coming from and what's actually happening AI has
finally figured it out right
The client error is also becoming apparent to him
You'realizing something very important
That's it—you've finally integrated AI
Now this AI-based developer has gone global
Now developers are mostly creating
their websites with the help of AI
So now it's even easier for them
Because there's no need to tell AI at all
Where the problem is occurring
Check what the client has written
The client side is experiencing this issue
The server's output is just some server text appearing here
Whatever it may be
it was this in 16.2
The large boat V8 has implemented
this in all programming languages
It's so damp look
It only appeared on your browser
Imagine this it's extremely rare
Update is in that's good Alright that's taken care of
Here is your Type Script for the deeply nested file
if you are working on a fully nested file
Keep working and if you happen to go anywhere with him
The other one you want to import
I told you didn't I
You had to install a third-party plugin
Because he didn't even understand her at all
I mean whatever JSON file you have here
The ts-config json file didn't understand it
So for him third party
There was so much to
do but now
there 's just one thing left for you to add
and that is ts-config path
true so now I'll tell you
Since you've come here to the source that's fine
Like you went inside the source
Hey you created one
let's say components
You built the UI inside it
You created a file by typing inside it
Inside it let's say headings tsx —
meaning inside the components folder
The folder with UI inside the UI folder
The Typho folder inside it a headings
Alright so these
are my headings
These headings I have inside my app
I'd like to integrate
this now Alright
All right everyone now what I'm about to say please pay close attention
You'll hear it okay I've got the compone
Here do it this way okay
Now importing is something I can easily handle
I'll handle the import in this way too
As for the import heading from
whatever it may be then your
These sources then
your components UI
Inside it type and headings
Alright if I do this
And here if I were to leave
So my thing is going Importat's
For yeah just boost that thing this one's it
I called it Thuru alias
I've used this alias a bit here
I already mentioned the full absolute path
I need it here alias
So what was left for us to do for him We would go
Look closely at the tsconfig json file
This file was originally much longer
Used to be slender but now
They've split this one too as well
We are adding a reference to two
files inside you and that's your
ode environment and your app environment
so they've integrated both node and app
Separated it right here okay so
Anything related to the app or code will remain
You need to go here take a look
Those weren't two files at first
Here it is okay so
It's made it even simpler
here—look right here—and
by the way now if you are using this base URL
You're not doing it here are you Back then we used to do it ourselves
Now look this has also been deprecated here
It had been deprecated long before this
It happened right there in vid8
I don't know I'm sorry
Whatever is big has already been
deprecated so to get that type alias
You will need to type the path
and then inside curly braces
at the rate forward slash star
and inside the array
How much would you add
then whatever is now
That's how I've done it as I've done it
I could also do this in another way
The alias here
you can easily
import we have a heading
Check with Gohar I'll just write it at the rate
forward slash components
forward slash UI component typo
So now I can only use this
Not like this here alias
I'm setting it up I'm moving forward here this one's doing my job for me this one
So that's awesome
Vid8 has truly delivered an outstanding performance
Gais a behind-the-scenes single bundler for your
local host for both your
development and production
Any problem you're seeing here
The same issue is appearing before you here
as a client-side error
meaning a browser error
What you're currently seeing on your terminal screen is
This is a very big deal
That's all for today's video
That's all for today's video
That day I explained everything to you in full detail
NetGIS 16.2 had demonstrated everything in full
How is it going here
And today I've also shown you the complete version in WIT 8
How did you like the video Let me know in the comment section
So if you have something you like from the ones available go ahead and take it especially the V8
If there's something I haven't mentioned yet please make sure to let me know in the comments
Please save the video with your friends
Like and subscribe and our
next goal is 8 lakh subscribers
Don't forget to subscribe now
Please do so
See you in the next video
Till then guys thank you so much
Take care