add sass modules

This commit is contained in:
Amir Mohamadi
2020-11-14 19:45:07 +03:30
parent 56b295b75d
commit 95149f0e72
17 changed files with 4140 additions and 2923 deletions
+5 -8
View File
@@ -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>