Have you imported babylon loaders? Babylon cannot parse gltf file by default, you need to import loaders as well. Also I am usually putting 3D files in public folder for easier access.
If you look at the network tab, it is likely that your model is being served as default index.html. Move your assets to public folder and change ‘…/…/…/‘ to leading slash where public is the root folder.
OK, I did not put it in the public directory
ok,thanks for your reply. i will put it in public directory