vue-github-buttons icon indicating copy to clipboard operation
vue-github-buttons copied to clipboard

Vuepress issue @ static

Open maartenvanderhoef opened this issue 6 years ago • 5 comments
trafficstars

First of all, thanks for implementing the button support for Vuepress +1 ! It works fine in vuepress dev mode, but when I build for static I'm having an error.

https://travis-ci.org/doingcloudright/airship.tf/jobs/489461062


/home/travis/build/doingcloudright/airship.tf/node_modules/vue-github-buttons/dist/vue-github-buttons.es.js:1
(function (exports, require, module, __filename, __dirname) { import { __awaiter, __generator, __extends, __decorate } from 'tslib';
                                                              ^^^^^^
SyntaxError: Unexpected token import

maartenvanderhoef avatar Feb 06 '19 11:02 maartenvanderhoef

Hmm... VuePress can't handle ES module style import? 🤔
That's weird.

gluons avatar Feb 06 '19 11:02 gluons

I've published v3.0.2-beta.0 with plugin tweak.
Import error gone. But some error still exists.

I don't know why.

gluons avatar Mar 07 '19 15:03 gluons

Issue created on VuePress.

gluons avatar Mar 07 '19 15:03 gluons

Thanks for all your effort, much appreciated!

maartenvanderhoef avatar Mar 12 '19 19:03 maartenvanderhoef

Move to track on vuejs/vuepress#451.

Workaround here vuejs/vuepress#1414#issuecomment-470928007.

gluons avatar Mar 13 '19 17:03 gluons