arnoson/kirby-vite-multi-page-kit
Composer 安装命令:
composer create-project arnoson/kirby-vite-multi-page-kit
包简介
A multi-page Kirby CMS + Vite starter kit
README 文档
README
Features
- ⚡️ Uses Vite with kirby-vite plugin
- 📚 Multiple pages
- 🔄 Live Reloading for Kirby templates, snippets, content, ... changes
- 📂 Public folder structure
Installation
Clone this repository and run:
composer install
npm install
Development
Start vite's dev server and a simple php dev server by running:
npm run dev
Visit localhost:8888 in the browser. Vite's dev server (localhost:5173) is only used for serving js, css and assets.
Preview
Get a local production preview by running:
npm run preview
Production
Build your optimized frontend assets to public/dist:
npm run build
File Nesting
If your are using VS Code, you can add file nesting to visually organize your assets in the editor's file explorer:
// .vscode/settings.json { "explorer.fileNesting.enabled": true, "explorer.fileNesting.patterns": { "*.js": "${capture}.css" }, }
Deployment
Manually
Upload the repository to your web server and point your web server to the repository's public folder.
Rsync
If you have ssh access you can use rsync to automate the upload/sync.
Git
You can also deploy your repository with git. Then you have to run the installation steps again on your web server.
Versioning
Because this is a started kit and not a library it doesn't use semantic versioning. If you wan't to migrate an existing project please look for any breaking changes in the release note.
arnoson/kirby-vite-multi-page-kit 适用场景与选型建议
arnoson/kirby-vite-multi-page-kit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11 次下载、GitHub Stars 达 41, 最近一次更新时间为 2021 年 03 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 arnoson/kirby-vite-multi-page-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 arnoson/kirby-vite-multi-page-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 41
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-11