Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted() {
this.dropdown = Dropdown.create(this.$el);
},
};
import { Dropdown } from "carbon-components";
Dropdown.create(document.getElementById("my-dropdown"));