Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@seafile/seafile-metadata

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seafile/seafile-metadata

## 查看demo 1. 下载源码并进入文件夹 ``` git clone git@github.com:seafileltd/seafile-metadata.git cd sf-metadata ```

latest
npmnpm
Version
0.0.5
Version published
Maintainers
0
Created
Source

Seafile metadata

查看demo

  • 下载源码并进入文件夹
git clone git@github.com:seafileltd/seafile-metadata.git
cd sf-metadata
  • 安装依赖
npm install
  • 添加配置项
  • 切换目录:cd example
  • 复制一份:'setting.local.dist.js', 并重命名为 'setting.local.js'
  • 修改 config, 该配置项同查看网页源码并按需填入
  • 启动
npm start
  • 在浏览器地址栏中输入:127.0.0.1:9004,即可访问该组件库的 demo 内容

使用

  • 安装 seafile-metadata
  npm install @seafile/seafile-metadata
  • 使用
  <!-- app.jsx -->
  import React from 'react';
  import SeafileMetadata from '@seafile/seafile-metadata';

  const APP = () => {
      return (
          <SeafileMetadata isDevelopment={isDevelopment} />
      );
  }

  export default APP;
  • 具体应用请参照相关 demo

开发

依据业务逻辑新编写组件

FAQs

Package last updated on 24 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts