-
Notifications
You must be signed in to change notification settings - Fork 558
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
Generated vue and ts-client don't work together #3067
Comments
I am confused.. what is your exact goal? do you want to publish a built version of ts-client? |
I want to get the generated vue project to work. |
ok...in that case, steps 3,4,6,7 are unnecessary and mess with the template...the axios suggestion was for building and publishing the ts-client as a standalone library Just do:
to create and launch your chain and while it's running, in a different term
Above assumes you have node v16 or higher |
You would still need to use step Nr.4 since I didn't publish the ts-client. And another problem is, that the project the generated vuex stores are for is a vue project written in just js, not ts, and therefore everything needs to be transpiled to js. |
ah...so you want JUST the vuex files then....not to run the boilerplate vue project which is in fact in TS... step 4 doesnt affect the code...it simply prints a notice that you should in fact publish your ts-client at some point. I'll have to get back to you on the setup for transpiling just the vuex files.. |
@lxgr-linux Ok. So I looked at this further and there are 2 issues at play here:
I will put a fix up for this for the next release. In the meantime, do you want instructions on how to transpile manually? Or would you rather wait for the release? |
Oh yes, having instructions for transpiling would be very nice, because we're currently migrating our chain to the newest cosmos-sdk version and our frontend is the last thing holding us back. |
Describe the bug
There seams to be a problem with the generated vue and ts-client.
To reproduce
Steps to reproduce the behavior:
ignite scaffold chain testtest123 cd testtest123
ts-client/package.json
to0.21.4
like I read on your discord serverprepare.js
to be able to build against local ts-client:npm i
npm i @babel/types
because it seams to be required, but is not contained by thepackage.json
tsc
What version are you using?
Provide the output of the
ignite version
command.The text was updated successfully, but these errors were encountered: