InstallExtension.vue 551 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <div>
  3. <img @click="installExtension" src="/svg/icon-install-nft-plugin.svg" />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'install_chrome',
  9. props: {
  10. extensionsInstallUrl: {
  11. type: String,
  12. default: ''
  13. }
  14. },
  15. data() {
  16. return {
  17. config: {},
  18. }
  19. },
  20. methods: {
  21. installExtension() {
  22. window.open(this.extensionsInstallUrl)
  23. }
  24. }
  25. }
  26. </script>
  27. <style lang="scss" scoped>
  28. img {
  29. cursor: pointer;
  30. }
  31. </style>