From: Alfredo C. <alf...@gm...> - 2021-09-20 17:20:08
|
Hello Joern, I tried to load the js by the cdn or from sigle local file, but I see only a blank page. Also the debugger in devTools doesn't show errors. Thanks, Alfredo Il giorno lun 20 set 2021 alle ore 19:07 Joern Turner < joe...@gm...> ha scritto: > Alfredo, > > just add the file 'fore-all.js' from dist directory (you can build it > yourself with 'npm run build') and add it to your xar wherever you want > it. Then just import it in an html page with > > <script type="module"> > import 'resources/scripts/fore-all.js'; > </script> > > assuming you've put the file in the directory 'resources/scripts'. > > That should do it. > > Best, > > Joern > > > > On Mon, Sep 20, 2021 at 7:02 PM Alfredo Cosco <alf...@gm...> > wrote: > >> Hi all, >> After some advice received in this group I tested Fore. I managed to >> install it locally, I have to admit that it is right for me but: I have no >> idea how to make Fore work within my application in eXist. >> Someone to tell me how to do? >> Thanks, >> Alfredo >> >> >> Il giorno dom 19 set 2021 alle ore 08:13 Dannes Wessels < >> di...@ex...> ha scritto: >> >>> Great work Joern, >>> >>> I can’t wait to get started with it! >>> >>> Thnx for sharing with the community! >>> >>> Cheers >>> >>> Dannes >>> >>> On 18 Sep 2021, at 12:54, Joern Turner <joe...@gm...> wrote: >>> >>> >>> Hi *, >>> >>> please excuse the off-topic here - not strictly eXist-db-related but >>> might be of interest for those still using betterFORM and eXist-db: >>> >>> Fore is a pure client-side XFormish state-engine that uses vanilla >>> JavaScript and Web Components to provide an alternative to betterFORM. >>> >>> It's still in beta and certainly does not cover everything that >>> betterFORM does. However it requires much less setup and has no >>> dependencies on eXist-db and in some areas even exceeds what betterFORM >>> could do. Furthermore there are no restrictions any more regarding styling >>> and use of custom controls which has been a pain with betterFORM sometimes. >>> >>> It has now come to a stage that already allows some serious use cases >>> and I would be happy about any feedback, feature requests and so on. >>> >>> For further information please see https://github.com/Jinntec/Fore. >>> Feel free to use the discussion board or contact me by mail for questions. >>> >>> Thanks for your interest. >>> >>> Joern >>> >>> _______________________________________________ >>> Exist-open mailing list >>> Exi...@li... >>> https://lists.sourceforge.net/lists/listinfo/exist-open >>> >>> _______________________________________________ >>> Exist-open mailing list >>> Exi...@li... >>> https://lists.sourceforge.net/lists/listinfo/exist-open >>> >> |