Our blazing fast Grid component built with pure JavaScript


Post by ashutoshp@cfi2.com »

Hi,

is there any guide available to show how to run vanilla javascript Gantt examples on local web server.

I tried setting up node application, but it appears serving it from node server causing errors on imports/require as it is not generated using build tools. Eg. we do not npm run build profile and get the results served from node server.


Post by marcio »

Hey ashutoshp@cfi2.com,

You'll have in your Bryntum package a folder of examples.

Inside of that folder, besides the frameworks examples that need to be built with npm i and npm run start (you can see in the respective package.json file).

For vanilla JS demos, to run examples you need any local webserver installed. For example Apache.
Set up the server the way you could navigate to the examples folder via a web page.
To access the examples, if you set Gantt's folder as the server's root then just navigate to https://localhost to see all examples running locally.

All of them are also available online
https://www.bryntum.com/examples/gantt/

After web server setup please refer to this Getting started guide.
https://www.bryntum.com/docs/gantt/#guides/getting_started.md

Best regards,
Márcio


Post Reply