yvr-cms
Version:
A headless CMS boilerplate with Node.js, Mongoose, Nextjs and CLI
15 lines (12 loc) • 317 B
JavaScript
const nextConfigGenerator = (questions) => {
return `/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
env: {
API_KEY: 'temporaryKey',
IMAGE_PATH: 'http://localhost:${questions.port}/images',
}
}
export default nextConfig;`
}
export default nextConfigGenerator