Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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>
 
PREVIOUS NEXT
Tagged: #nuxt #Lexical #error #line #Unrecognized
ADD COMMENT
Topic
Name
1+7 =