Browse Source

fix: mdi icons

pull/621/head
NGPixel 6 years ago
parent
commit
1adf98eb8d
2 changed files with 2 additions and 2 deletions
  1. 2
      client/app.js
  2. 2
      server/views/master.pug

2
client/app.js

@ -120,7 +120,7 @@ let bootstrap = () => {
// ====================================
import(/* webpackChunkName: "icons" */ './svg/icons.svg').then(icons => {
document.body.insertAdjacentHTML('beforeend', icons)
document.body.insertAdjacentHTML('beforeend', icons.default)
})
}

2
server/views/master.pug

@ -22,9 +22,9 @@ html
var siteConfig = !{JSON.stringify(config.site)}
//- CSS
link(type='text/css', rel='stylesheet', href='/css/bundle.css')
link(type='text/css', rel='stylesheet', href='https://fonts.googleapis.com/icon?family=Roboto:400,500,700|Source+Code+Pro:400,700|Material+Icons')
link(type='text/css', rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css')
link(type='text/css', rel='stylesheet', href='/css/bundle.css')
//- JS
script(type='text/javascript', src='/js/client.js')

Loading…
Cancel
Save