This application fails to run. Instead, we get the following error output in the browser console:
Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
Steps to reproduce:
- git clone https://github.com/yewstack/yew-wasm-pack-template.git
- yarn install
- yarn build
- cd dist
- serve
Open the app in the browser, open dev tools, view the error message.
This application fails to run. Instead, we get the following error output in the browser console:
Steps to reproduce:
Open the app in the browser, open dev tools, view the error message.