aw-studio / fjord-csv
导入/导出 CRUD 模型 CSV 数据
v1.0
2019-10-14 15:00 UTC
Requires
- maatwebsite/excel: ^3.1
This package is auto-updated.
Last update: 2024-09-15 02:01:18 UTC
README
导入/导出 CRUD 模型 CSV 数据
安装
通过 composer 安装此包
composer require aw-studio/fjord-csv
您必须通过 npm 安装 node 包
npm i vendor/aw-studio/fjord-csv
为了扩展您的 Fjord 应用程序,请遵循 fjord 文档中关于扩展 Fjord Vue 应用程序的说明。
在您的 app.js
文件中引入此包
import Fjord from "fjord"; require('fjord-csv') const store = {}; new Fjord({ store });
将您的 app.js
文件的编译版本包含在您的 config/fjord.php
文件中
return [ ... 'assets' => [ // Set path to the app.js file. 'js' => '/path/to/compiled/app.js', ], ... ];