fixers/jetstream-inertia-i18n 问题修复 & 功能扩展

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

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

fixers/jetstream-inertia-i18n

最新稳定版本:v0.0.2

Composer 安装命令:

composer require fixers/jetstream-inertia-i18n

包简介

An implementation of translatable Vue components for Laravel Jetstream with the Inertia stack

README 文档

README

This package contains a method to easily enable translation of Vue components within Laravel Jetstream projects built with the Inertia stack.

This package is not compatible with the Livewire stack.

The implementation uses vue-i18n.

Warning

This will overwrite the Vue components, layout and pages that come with Jetstream, and add the necessary code to enable translation. If you have made changes to these files, you will need to merge them manually.

Using this package should be done at the start of a project, before making any changes to the Jetstream components.

Installation

You can install the package via composer:

composer require fixers/jetstream-inertia-i18n --dev

The package uses Laravel's auto-discovery feature to register the service provider.

When ready to publish the package's config file, run the following command:

php artisan fixers:publish-components

This will introduce you to a warning message, asking you to confirm the publishing of the package's files.

You will also be prompted to include any of the available languages in the package.

You are welcome to contribute with your custom language file as a Pull Request.

TODO

  • Add something that ensures we are up to date with Jetstream's components
  • Add more languages

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-28