# chromeWeb **Repository Path**: L_L_Z/chrome-web ## Basic Information - **Project Name**: chromeWeb - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-21 - **Last Updated**: 2024-08-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1:打包的步骤 1.1:修改next.config.mjs文件,达到如下效果 const nextConfig = { output:'export', basePath: '/backend', // async rewrites() { // return [ // { // source: '/:path*', // destination: 'https://www.xsjxkt.com:446/:path*', // 替换为你的接口域名 // }, // ]; // } }; export default nextConfig; 1.2:执行npm run build 2: 开发的步骤 2.1修改next.config.mjs文件,达到如下效果 /** @type {import('next').NextConfig} */ const nextConfig = { // output:'export', basePath: '/backend', reactStrictMode: false, async rewrites() { return [ { source: '/:path*', destination: 'https://www.xsjxkt.com:446/:path*', // 替换为你的接口域名 basePath: false, }, ]; } }; export default nextConfig; 2.2 开发运行先执行 npm install; 在执行 npm run dev 3:开发参考文档 开发参考UI:https://ant-design.antgroup.com/index-cn 开发框架参考nextjs:https://nextjs.org/ https://react.docschina.org/