Manu
Manu
+1 CC: @manniL @Developmint
I fixed the issue with adding the link manually to "nuxt.config.js". ``` head: { ..., link: [ { rel: "preload", as: "style", href: "/fonts.css", }, ], }, ```
@FF-ru adding `modules: 'commonjs'` to the build.babel.presets fix this issue For example: ```javascript babel: { presets({ isServer }) { return [ [ require.resolve('@nuxt/babel-preset-app'), { //targets: isServer ? { node: '10'...
For vue this should work: ```javascript babel: { presets: [ [ '@babel/env', { //targets: { // node: 'current' //}, modules: 'commonjs' } ] ] } ```
@cesasol This not works. Vue.config.performance should set immediately after loading Vue and before `new Vue`
I found the solution add this to the nuxt.config.js file ```javascript vue: { config: { performance: true } } ``` https://nuxtjs.org/api/configuration-vue-config/
+1 Needed for static preview in nuxt https://nuxtjs.org/docs/2.x/features/live-preview
I think is the same issue like here #515