solophp/inertia-svelte-skeleton 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

solophp/inertia-svelte-skeleton

最新稳定版本:v1.1.1

Composer 安装命令:

composer create-project solophp/inertia-svelte-skeleton

包简介

SoloPHP Framework Skeleton Application for Inertia.js and Svelte, ready to start coding

README 文档

README

SoloPHP Framework Skeleton Application for Inertia.js and Svelte, ready to start coding.

Getting Started

Follow these steps to set up and run the application:

  1. Install all Composer packages:
    composer install
  2. Navigate to the public directory:
    cd public
  3. Start the PHP server:
    php -S localhost:8000
  4. Navigate to the web directory:
    cd web
  5. Install all npm packages:
    npm install
  6. Run the development server:
    npm run dev

Building for Production

To create a production build, run:

npm run build

Database Connection Configuration

To set up your database connection, you need to configure settings for both local and remote environments. Fill in the required data for config/settings.local.php (for localhost) and config/settings.php (for remote host).

Database Migrations

Use following command to view the list of all available commands.

php cli help

Important Notes

  • For the application to work properly, both the client server and the backend server must be running simultaneously.
  • Styles are managed using SCSS syntax.
  • The SCSS preprocessor does not require additional configuration.

Feel free to modify it according to your needs!

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-06