Skip to content

Instantly share code, notes, and snippets.

@eirikb eirikb/main.js
Created Apr 26, 2017

What would you like to do?
MDL in Vue2 hack
import Vue from 'vue';
import 'material-design-lite';
mounted() {
for (const el of this.$el.querySelectorAll('[class*=mdl-js-]')) {
if (!el.dataset.upgraded) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.