typicms/places 问题修复 & 功能扩展

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

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

typicms/places

最新稳定版本:16.1.0

Composer 安装命令:

composer require typicms/places

包简介

README 文档

README

Manage places and show them on a map.

Installation

  1. Require the package using composer:
composer require typicms/places
  1. Add the service provider in your config/app.php file:
'providers' => [
    /*
     * TypiCMS Modules Service Providers.
     */
    TypiCMS\Modules\Places\Providers\ModuleServiceProvider::class,
];
  1. Publish files from this module to your project, run:
php artisan vendor:publish --provider="TypiCMS\Modules\Places\Providers\ModuleServiceProvider"
  1. Run the migration:
php artisan migrate
  1. Set a Google Maps API key in your .env file. See Google Maps Platform.

  2. Install @googlemaps/markerclusterer and :

bun add @googlemaps/markerclusterer --dev
bun add @types/google.maps --dev
  1. Uncomment the following lines in /resources/js/public.js:
import initMap from './public/map';

window.initMap = initMap;
  1. Add this line to the /resources/scss/public.scss file:
@import 'public/map';
  1. Run bun run dev to compile the assets.

  2. Connect to the admin panel, add some places, create a page linked to the module Places and visit this page to see the places on a map.

This module is part of TypiCMS, a multilingual CMS based on the Laravel framework.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-30