VueJS: Single File Components
Paulund is full of premium tutorials and support to help with your development
Sign up to get full access to all tutorials.
When you're defining new components in VueJS you can use the method Vue.component like we've used in a previous tutorial about Vue. This has created a Vue component of todo-item the problem with this are: Organising your components in the folder structure can be difficult Template don't have any syntax highlights which can make HTML changes difficult CSS needs to be processed outside of scope. Which makes CSS maintenance in the long run difficult