Static GitHub Issues

[959] Can not run Static Generated Web without Webpack Middleware

prev: can't read property 'split' of undefined
next: alpine causing segmen fault on build

I generated my web app to a static web application (by running: nuxt generate).

I want to run it locally by openning index.html in the dist folder, but these functions of the app don't work because the app run without Webpack middleware.

Anyone knows how to resolve it?

Thank you.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c830">#c830</a>)</em></sub></div>