Skip to content

barry461/newqianduan

Repository files navigation

前端开发说明

本项目基于 Gulp 构建静态资源,支持:

  • ✅ CSS/JS/ 合并压缩
  • ✅ .tpl、.php文件保存浏览器自动刷新(BrowserSync)

⚠️ 注意事项

  • 项目中 gulpfile.js 的代理端口应与本地 Docker 映射端口一致,如 Docker 暴露的是 8004,则配置如下:
function serve(done) {
    bs.init({
        proxy: {
            target: 'http://localhost:8004', // 与 Docker 映射一致
            ws: true
        },
        port: 8004,
        open: false,
        notify: true,
        ghostMode: false
    });
    done();
}

📦 本地开发

composer install
npm install
npm run dev

🏗️ 构建生产版本

npm run build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors