<s>
Vue.js	B-Language
(	O
commonly	O
referred	O
to	O
as	O
Vue	O
;	O
pronounced	O
"	O
view	O
"	O
)	O
is	O
an	O
open-source	O
model	O
–	O
view	O
–	O
viewmodel	O
front	O
end	O
JavaScript	B-Language
framework	I-Language
for	O
building	O
user	B-Application
interfaces	I-Application
and	O
single-page	B-Application
applications	I-Application
.	O
</s>
<s>
Vue.js	B-Language
features	O
an	O
incrementally	O
adaptable	O
architecture	O
that	O
focuses	O
on	O
declarative	O
rendering	O
and	O
component	O
composition	O
.	O
</s>
<s>
Advanced	O
features	O
required	O
for	O
complex	O
applications	B-Application
such	O
as	O
routing	B-Protocol
,	O
state	B-Application
management	I-Application
and	O
build	B-Application
tooling	I-Application
are	O
offered	O
via	O
officially	O
maintained	O
supporting	O
libraries	O
and	O
packages	O
.	O
</s>
<s>
Vue.js	B-Language
allows	O
for	O
extending	O
HTML	B-Language
with	O
HTML	B-Language
attributes	O
called	O
directives	O
.	O
</s>
<s>
The	O
directives	O
offer	O
functionality	O
to	O
HTML	B-Language
applications	B-Application
,	O
and	O
come	O
as	O
either	O
built-in	B-Application
or	O
user	O
defined	O
directives	O
.	O
</s>
<s>
Vue	O
was	O
created	O
by	O
Evan	O
You	O
after	O
working	O
for	O
Google	B-Application
using	O
AngularJS	B-Application
in	O
several	O
projects	O
.	O
</s>
<s>
He	O
later	O
summed	O
up	O
his	O
thought	O
process	O
:	O
"	O
I	O
figured	O
,	O
what	O
if	O
I	O
could	O
just	O
extract	O
the	O
part	O
that	O
I	O
really	O
liked	O
about	O
Angular	B-Language
and	O
build	O
something	O
really	O
lightweight.	O
"	O
</s>
<s>
Vue	O
components	O
extend	O
basic	B-Language
HTML	I-Language
elements	O
to	O
encapsulate	O
reusable	O
code	O
.	O
</s>
<s>
Vue	O
uses	O
an	O
HTML-based	O
template	O
syntax	O
that	O
allows	O
binding	O
the	O
rendered	O
DOM	B-General_Concept
to	O
the	O
underlying	O
Vue	O
instance	O
's	O
data	O
.	O
</s>
<s>
All	O
Vue	O
templates	O
are	O
valid	O
HTML	B-Language
that	O
can	O
be	O
parsed	B-Language
by	O
specification-compliant	O
browsers	O
and	O
HTML	B-Language
parsers	B-Language
.	O
</s>
<s>
Vue	O
compiles	O
the	O
templates	O
into	O
virtual	B-General_Concept
DOM	I-General_Concept
render	O
functions	O
.	O
</s>
<s>
A	O
virtual	O
Document	B-General_Concept
Object	I-General_Concept
Model	I-General_Concept
(	O
or	O
"	O
DOM	B-General_Concept
"	O
)	O
allows	O
Vue	O
to	O
render	O
components	O
in	O
its	O
memory	O
before	O
updating	O
the	O
browser	O
.	O
</s>
<s>
Combined	O
with	O
the	O
reactivity	O
system	O
,	O
Vue	O
can	O
calculate	O
the	O
minimal	O
number	O
of	O
components	O
to	O
re-render	O
and	O
apply	O
the	O
minimal	O
amount	O
of	O
DOM	B-General_Concept
manipulations	O
when	O
the	O
app	O
state	O
changes	O
.	O
</s>
<s>
Render	O
functions	O
allow	O
applications	B-Application
to	O
be	O
built	O
from	O
software	B-Architecture
components	I-Architecture
.	O
</s>
<s>
Vue	O
features	O
a	O
reactivity	O
system	O
that	O
uses	O
plain	O
JavaScript	B-Language
objects	O
and	O
optimized	O
re-rendering	O
.	O
</s>
<s>
Vue	O
provides	O
a	O
variety	O
of	O
ways	O
to	O
apply	O
transition	O
effects	O
when	O
items	O
are	O
inserted	O
,	O
updated	O
,	O
or	O
removed	O
from	O
the	B-General_Concept
DOM	I-General_Concept
.	O
</s>
<s>
Vue	O
will	O
automatically	O
sniff	O
whether	O
the	O
target	O
element	O
has	O
CSS	B-Language
transitions	O
or	O
animations	O
applied	O
.	O
</s>
<s>
If	O
it	O
does	O
,	O
CSS	B-Language
transition	O
classes	O
will	O
be	O
added/removed	O
at	O
appropriate	O
timings	O
.	O
</s>
<s>
If	O
the	O
transition	O
component	O
provided	O
JavaScript	B-Language
hooks	O
,	O
these	O
hooks	O
will	O
be	O
called	O
at	O
appropriate	O
timings	O
.	O
</s>
<s>
If	O
no	O
CSS	B-Language
transitions/animations	O
are	O
detected	O
and	O
no	O
JavaScript	B-Language
hooks	O
are	O
provided	O
,	O
the	B-General_Concept
DOM	I-General_Concept
operations	O
for	O
insertion	O
and/or	O
removal	O
will	O
be	O
executed	O
immediately	O
on	O
next	O
frame	O
.	O
</s>
<s>
A	O
traditional	O
disadvantage	O
of	O
single-page	B-Application
applications	I-Application
(	O
SPAs	O
)	O
is	O
the	O
inability	O
to	O
share	O
links	O
to	O
the	O
exact	O
"	O
sub	O
"	O
page	O
within	O
a	O
specific	O
web	O
page	O
.	O
</s>
<s>
Because	O
SPAs	O
serve	O
their	O
users	O
only	O
one	O
URL-based	O
response	O
from	O
the	O
server	O
(	O
it	O
typically	O
serves	O
index.html	O
or	O
index.vue	O
)	O
,	O
bookmarking	O
certain	O
screens	O
or	O
sharing	O
links	O
to	O
specific	O
sections	O
is	O
normally	O
difficult	O
if	O
not	O
impossible	O
.	O
</s>
<s>
However	O
,	O
with	O
HTML5	O
most	O
modern	O
browsers	O
support	O
routing	B-Protocol
without	O
hashbangs	O
.	O
</s>
<s>
Vue	O
itself	O
does	O
n't	O
come	O
with	O
front-end	O
hashed	O
routing	B-Protocol
.	O
</s>
<s>
With	O
Vue	O
,	O
developers	O
are	O
already	O
composing	O
applications	B-Application
with	O
small	O
building	O
blocks	O
building	O
larger	O
components	O
.	O
</s>
<s>
This	O
template	O
(	O
varying	O
by	O
the	O
params	O
passed	O
into	O
the	O
router	O
)	O
will	O
be	O
rendered	O
into	O
<code><router-view></router-view></code>	O
inside	O
the	B-General_Concept
DOM	I-General_Concept
's	O
div	O
#app	O
.	O
</s>
<s>
The	O
finally	O
generated	O
HTML	B-Language
for	O
someone	O
typing	O
in	O
:	O
websitename.com/user/1	O
will	O
be	O
:	O
</s>
