我試圖使用命令創(chuàng)建 Nuxt 應(yīng)用程序
npm 初始化 nuxt-app
通過安裝項目,會導(dǎo)致此錯誤
npm init nuxt-app 結(jié)果出現(xiàn)問題“無法加載在 '.eslintrc.js ? @nuxtjs/eslint-config' 中聲明的插件 'unicorn'”
構(gòu)建項目時如下所示
下面是我坐的.eslintrc.js
,
誰能幫我嗎
module.exports = { root: true, env: { browser: true, node: true, }, parserOptions: { parser: '@babel/eslint-parser', requireConfigFile: false, }, extends: ['@nuxtjs', 'plugin:nuxt/recommended', 'prettier'], plugins: [], // add your custom rules here rules: {}, }