Permalink
Browse files

fix(icon): fix iconSrc type

  • Loading branch information...
pi0 committed Jun 6, 2017
1 parent b4062c6 commit 9aaaba7d259a8643ff7d01044fafb7bcfa633e9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/icon/index.js
@@ -6,7 +6,7 @@ const fixUrl = url => url.replace(/\/\//g, '/').replace(':/', '://')
const isUrl = url => url.indexOf('http') === 0 || url.indexOf('//') === 0

module.exports = function nuxtIcon (options, cb) {
const iconSrc = options.src || path.resolve(this.options.srcDir, 'static', 'icon.png')
const iconSrc = options.iconSrc || path.resolve(this.options.srcDir, 'static', 'icon.png')
const sizes = options.sizes || [16, 120, 144, 152, 192, 384, 512]

// routerBase and publicPath

0 comments on commit 9aaaba7

Please sign in to comment.