Skip to content

Commit

Permalink
fix(styles): move bootstrap theme into layout
Browse files Browse the repository at this point in the history
This makes the theme load later than vuetify and will overwrite the styles.
  • Loading branch information
damienrobinson committed Jan 5, 2020
1 parent 303c142 commit 9a7fb94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ export default {
};
</script>

<style>
<style lang="scss">
@import '~/assets/scss/custom.scss';
.brand {
font-family: 'Rouge Script', cursive;
font-size: 2rem;
Expand Down
6 changes: 1 addition & 5 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ module.exports = {
/*
** Global CSS
*/
css: [
'~/assets/scss/custom.scss',
'~/assets/css/storyblok.css',
'~/assets/css/fonts.css',
],
css: ['~/assets/css/storyblok.css', '~/assets/css/fonts.css'],

/*
** Plugins to load before mounting the App
Expand Down

1 comment on commit 9a7fb94

@vercel
Copy link

@vercel vercel bot commented on 9a7fb94 Jan 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.