4 ms·
In vue (or atleast the way the majority of people use vue), each component is separated into a .vue file. That component's template, style and business logic i
by gorbypark 7y ago
In vue (or atleast the way the majority of people use vue), each component is separated into a .vue file. That component's template, style and business logic is all encapsulated in that one file. A basic .vue file starts out with <template></template><style></style><script></script>. It keeps everything nice and simple, in my opinion. Each different "mode of thinking" is separated out, but still all together in one file.