- 安装react+express的示例:
npx create-next-app --example custom-server-express custom-server-express-app
- 安装next-sass:
npm i @zeit/next-sass node-sass
- 新建next.config.js并加入内容:
const withSass = require('@zeit/next-sass')
module.exports = withSass()
- [ ] test