add sass modules
This commit is contained in:
+5
-8
@@ -10,16 +10,13 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
beforeCreate() {
|
||||
if (this.$route.params.lang === 'fa') {
|
||||
$('html').attr({lang: 'fa'})
|
||||
} else if (this.$route.params.lang === 'en') {
|
||||
$('html').attr({lang: 'en'})
|
||||
}
|
||||
},
|
||||
mounted() {},
|
||||
head() {
|
||||
return {}
|
||||
return {
|
||||
htmlAttrs: {
|
||||
lang: 'fa'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user