Open joeleduardo opened 3 years ago
I went through the same process a while ago. I ended up with the following configuration for gatsby-plugin-sass@3.2.0:
{
resolve: 'gatsby-plugin-sass',
options: {
useResolveUrlLoader: true,
sassOptions: {
includePaths: ['../', '../src', '../src/styles'],
},
},
},```
One thing to note is that I put all components and pages for Next.js inside a src/ directory, so I had to do some extra trickery with the includePaths.
Hello im trying to setup
docz
in a next js project but im getting this error after runnpm run docz:dev
:Basically i added a
gatsby-config.js
file to set up thegatsby-plugin-sass
plugin and im stuck in this step. any ideasAs side comment im running my app with Next Js SSG (Static Site Generation)