Here is a very simple portrait that only contain one h t MRO and also one swept Bob J as.
So now we are going to use the script of J as so we have to add s with
and sources script thought they s since we need to tout our extra m out that we are using more tools
we need to add that type is equal to modules
then we are going to create the first component with names as component one day as an inside the component
one thought the s we create a variable is Apple which is equal to Apple and we are going to use export
default.
Yeah two types of export.
One of them is the lightest a spot default
and the other is export the constant directly.
But first we are going to introduce export default Apple and if we want to import the component one
into the script all day as we have to use import
and seen so we just use export default so we can name it as anything you can use Apple or you can use
app
and then we try to pick out a result
we have to add a single code which we are missing
now you can see it's pretty poor people.
Oh so it implied that it can import the pope but that's pretty bad.
I do think it's probably bought according to Greek and other components with its component to it as
an inside to come port until we are going to export to different Palestine.
One is not enough and only stood the test of banana and the other I used orange.
Now we are going to import up I'm not not an orange foam component to the thought they ask and it seems
that we are using the export content and so we must use back the name that crammed here.
So we are going to import
banana and all right from component to Daughtry s.
Now if you take a look at the college to all you kind of see it also as an export the banana and also
the ordering.
If you really want to change another name for example to the bottom right up banana things to ponder
then we can also take a look at the name.
Now you can see it also it's prey up but not here.
So we can export successfully because really what we export here is not its path.
So it's not that it's pretty but it is just a variable.
And also that is another method that we can export all the things from that component to about
we can delay these things and then import all of those damn things as food.
Now that offer you a thing or age or bond are not going to use
it thought banana and food but all range
market is such that we know that there are some changes now.
Let's look at the results.
You can see it also straight up banana and Orange by using this method.
So this is how the import and export work.