Closed AlexFN closed 5 years ago
npm i nuxt-i18n
nuxt.config.js
const laravelNuxt = require("laravel-nuxt");
module.exports = laravelNuxt({
modules: [ 'nuxt-i18n', ], plugins: [], i18n: {},
});
3. And then run `npm start`
Error: Could not compile template /Users/User/Project/node_modules/nuxt -i18n/src/plugins/routing.js: MODULE_NAME is not defined
Old version.....
"laravel-nuxt": "^1.0.0",
Replaced by "laravel-nuxt": "^2.0.0", it works!
"laravel-nuxt": "^2.0.0"
npm i nuxt-i18n
nuxt.config.js
module.exports = laravelNuxt({
});
Error: Could not compile template /Users/User/Project/node_modules/nuxt -i18n/src/plugins/routing.js: MODULE_NAME is not defined