Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Replace default icons of v-data-table with @mdi/js
Browse files Browse the repository at this point in the history
  • Loading branch information
shgtkshruch committed Nov 25, 2020
1 parent 63c355f commit 8ae1baf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const config: NuxtConfig = {
*/
vuetify: {
customVariables: ['@/assets/variables.scss'],
optionsPath: './plugins/vuetify.options.ts',
treeShake: true,
defaultAssets: {
icons: false,
Expand Down
13 changes: 13 additions & 0 deletions plugins/vuetify.options.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { mdiChevronLeft, mdiChevronRight, mdiMenuDown } from '@mdi/js'

// Vueitfy options
// https://github.com/nuxt-community/vuetify-module#optionspath
export default {
icons: {
values: {
prev: mdiChevronLeft,
next: mdiChevronRight,
dropdown: mdiMenuDown,
},
},
}

0 comments on commit 8ae1baf

Please sign in to comment.