Top
image credit: Piqsels

Nuxt 2.11.0 Released

January 22, 2020

Via: InfoQ

Nuxt.js, a Vue.js framework, recently released version 2.11.0 to provide better control over the removal of non-client or non-server code in third-party dependencies. Nuxt 2.11 also adds flexibility with conditional statements supporting the run-time evaluation of application templates.

Prior to Nuxt 2.11, developers could not use conditions within a Nuxt application template. Nuxt would load app.html with the Webpack HTML plugin, to internally evaluate templates. With this approach Nuxt could not evaluate templates like <% if (something) { %> … <% } %> at run time. Instead, this code was code evaluated at build time.

Read More on InfoQ