Error with vue webpack cli || Cannot use physics
See original GitHub issueimport VueBabylonJS from 'vue-babylonjs'
Vue.use(VueBabylonJS)
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Webpack issues #374 - kripken/ammo.js - GitHub
Both with vue-cli (webpack) and vitejs (rollup) I'm having issues getting it to work properly either at build or runtime.
Read more >vue and webpack problem when trying to run npm i
i have this problem when i am trying to run npm install, the project was built with vuejs npm ERR! code ERESOLVE npm...
Read more >Vue JavaScript Tutorial in Visual Studio Code
Vue JavaScript tutorial showing IntelliSense, debugging, and code navigation support in the Visual Studio Code editor.
Read more >CLI Service - Vue CLI
The vue-cli-service serve command starts a dev server (based on webpack-dev-server) that comes with Hot-Module-Replacement (HMR) working out of ...
Read more >Migrate from v4 - Vue CLI
Webpack 5 does no longer include polyfills for Node.js modules by default. You shall see an informative error message if your code relies...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@stephanedemotte This changed in the latest version of BabylonJS. I have been working on a solution, but in the meantime you should be able to install Omio and Cannon via npm. You can see some details from the BabylonJS documentation here: http://doc.babylonjs.com/features/npm_support
I’ll work on getting the new version out shortly. Thanks for trying out the library!
Oh, so it was not working because of your webpack config? You are able to get physics working in your instance? That’s great, I’m still having problems trying to include them in the UMD package, but am making progress.