Using Vue + BabylonJS (NPM ES6 ver), and I don't know how to find assets's path after build

As the Vue Build Doc says, you should put your model assets in

(project root)/src/public/assets

After build, files in the folder above are now in

(project root)/dist/assets/

And after you deploy, dist/ is your root directory now, so you can access to your models by assets/(model file name)

3 Likes