Answers for "nuxt JisonLexerError: Lexical error on line 1: Unrecognized text."

CSS
0

nuxt JisonLexerError: Lexical error on line 1: Unrecognized text.

Make sure that you've added lang="scss" in the <style> tag
Ex: 
<style scoped>
@import '~/assets/file.scss';
</style>

// should be: 

<style lang="scss" scoped>
@import '~/assets/file.scss';
</style>
Posted by: Guest on March-07-2021

Browse Popular Code Answers by Language