After updating my old nuxtjs project from version 1.4.5 to 2.12.0, I encountered an issue during the client bundle building process. The error message I received was:
ERROR Failed to compile with 1 errors
This relative module was not found:
* ./blank.vue?vue&type=template&id=082ee776&lang=pug in ./src/layouts/blank.vue
You can view the full error here.
Below is the content of blank.vue file:
<template lang="pug">
nuxt
</template>
This is my nuxt.config.js file:
import webpack from 'webpack'
import CompressionPlugin from 'compression-webpack-plugin'
import { config } from 'dotenv'
config()
// Code snippet continues...
I am wondering if there might be a configuration setting that I missed after migrating to v2 or if there is a new method to load vue templates post nuxt v1. Any assistance on this matter would be greatly appreciated. Thank you!