Files can be read directly from the filesystem in getStaticProps . In order to do so you have to get the full path to a file. Since Next.js compiles your code ...
確定! 回上一頁