[Pas2js] Call functions from other JS file

Michael Van Canneyt michael at freepascal.org
Mon Dec 14 18:43:20 CET 2020



On Mon, 14 Dec 2020, imperyal wrote:

> Thank you Michael Van Canneyt, it works as expected. 
>
> Support for Libraries and Modules would be great.

Yes, I know :-)

> I'm trying to use VUE with pas2js, any suggestions on how to do that? The
> idea is to use pas2js for the business logic (we already have most of it
> done in Pascal), and VUE for the user interface. Components would allow that
> easily...

Well, interesting question.

Vue.js is on my todo list. I found some articles on how to use vue with 'plain'
javascript, i.e. without use of webpack and the whole ecosystem that this
implies, but I didn't get around to making a demo app.

So at this point, I can only say that I have plans for it, but nothing concrete.

Michael.


More information about the Pas2js mailing list