Disable dynamic scss imports (weird errors in prod builds, FIXME)
This commit is contained in:
parent
b52a4e1225
commit
08dec5d703
2 changed files with 3 additions and 9 deletions
|
@ -45,10 +45,9 @@
|
|||
</style>
|
||||
|
||||
<script>
|
||||
import "../../style/dashboard.scss";
|
||||
|
||||
export default {
|
||||
async mounted() {
|
||||
await import("../../style/dashboard.scss");
|
||||
},
|
||||
methods: {
|
||||
async logout() {
|
||||
await this.$store.dispatch("auth/logout");
|
||||
|
|
|
@ -134,12 +134,7 @@
|
|||
import VueHighlightJS from "vue-highlightjs";
|
||||
import "../../directives/trim-code";
|
||||
import "highlight.js/styles/ocean.css";
|
||||
import "../../style/docs.scss";
|
||||
|
||||
Vue.use(VueHighlightJS);
|
||||
|
||||
export default {
|
||||
async mounted() {
|
||||
await import("../../style/docs.scss");
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue