Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install nebPay? npm install nebpay.js? #28

Open
daffy6537 opened this issue May 20, 2018 · 3 comments
Open

how to install nebPay? npm install nebpay.js? #28

daffy6537 opened this issue May 20, 2018 · 3 comments

Comments

@daffy6537
Copy link

如果在vuejs中import nebpay呢?

@yupnano
Copy link
Contributor

yupnano commented May 20, 2018

NebPay has already published to NPM! As is shown in the Readme.md :

NPM

@yupnano
Copy link
Contributor

yupnano commented May 22, 2018

你是指已经打包好的nebpay.js 文件吗?
我们稍后会上传nebpay.js文件,用户可以直接使用,不用自己打包了。

@aijingsun6
Copy link

为什么没有直接可用的npm依赖包。
我遇到的问题是,直接npm install nebpay.js --save
然后直接 import {NebPay} from 'nebpay.js';(typescript)

在编译的时候报错:
Build Failed: GulpUglifyError: unable to minify JavaScript
Caused by: SyntaxError: Invalid assignment
File: /project.js

但是 nebulas 这个依赖就没有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants