承接 sevengroupfrance/sulu-fr-gouv-map-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

sevengroupfrance/sulu-fr-gouv-map-bundle

最新稳定版本:1.0.3

Composer 安装命令:

composer require sevengroupfrance/sulu-fr-gouv-map-bundle

包简介

README 文档

README

How the content type looks
Inspired by this pull request.

What is this bundle's goal?

To create a new content type adresse which is a single text input with autocomplete. It only searches through french addresses since it uses the data gouv API.
The map installed in this bundle comes from React Leaflet JS.

Installation

  1. Download the package in your project with the following command line:
    composer require sevengroupfrance/sulu-fr-gouv-map-bundle.
  2. In config/bundles.php add the following code:
    SevenGroupFrance\SuluFrGouvMapBundle\SuluFrGouvMapBundle::class => ['all' => true].
  3. In assets/admin/package.json, add the following line in the "dependencies" object:
    "sulu-fr-gouv-map-bundle": "file:node_modules/@sulu/vendor/sevengroupfrance/sulu-fr-gouv-map-bundle/src/Resources/js".
  4. In assets/admin, npm install to initialize the bundle's symlink directory.
  5. In the same folder, npm i react react-dom leaflet and then npm i react-leaflet.
  6. In assets/admin/index.js, add this line:
    import 'sulu-fr-gouv-map-bundle'.
  7. In assets/admin, npm run watch or npm run build

Use in your template files

Once installed you'll have to create a new property with the type adresse

<property name="address" type="adresse">
  <meta>
    <title lang="en">address field (with autocomplete)</title>
  </meta>
</property>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固