in /pages/blog/_slug.vue I write const fs = require('fs')
the compiling error is:
ERROR Failed to compile with 1 errors 3:46:45 PM
This dependency was not found:
* fs in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./pages/blog/_slug.vue
To install it, you can run: npm install --save fs
then I install it by the notice. but the error not fixed
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1321">#c1321</a>)</em></sub></div>