Skip to content

Commit

Permalink
🐛 Fix vue language broken on browser
Browse files Browse the repository at this point in the history
  • Loading branch information
gluons committed Sep 2, 2017
1 parent 8810628 commit f2ccbac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/languages/vue.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as xml from 'highlight.js/lib/languages/xml';
import * as hljs from 'highlight.js';

export default xml;
export default function () {
return hljs.getLanguage('xml');
}

0 comments on commit f2ccbac

Please sign in to comment.