Fix missing name variable

This commit is contained in:
tomatrow 2018-06-21 09:11:54 -07:00 committed by GitHub
parent e849f1874b
commit 25a8607056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,8 @@
import Vue from 'vue'; import Vue from 'vue';
import { getVueOptions } from './options'; import { getVueOptions } from './options';
export default Vue.component('purple', getVueOptions(name)); let name = 'purple';
export default Vue.component(name, getVueOptions(name));
</script> </script>
<!-- Add "scoped" attribute to limit CSS to this component only --> <!-- Add "scoped" attribute to limit CSS to this component only -->