DEV Community

Discussion on: An introduction to Single File Components in VueJS

Collapse
 
risafj profile image
Risa Fujii • Edited

Thanks for an straightforward intro to SFCs! I especially appreciated the example you gave using pug and SASS. Just noticed what might be a typo in your first code block (extra 's'), so letting you know for cleanliness's sake :)

module.exports = {s
       data: function() {
           return {
               name: 'Sam'
           }
       }
    }
Collapse
 
sambenskin profile image
Sam Benskin

Thanks the kind words and I've now fixed the typo 😀