Skip to content

Commit

Permalink
copy docs/ja/dev-guide/ui-info.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwuofficial committed Dec 6, 2019
1 parent 0670cb0 commit 8c0f57c
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions docs/ja/dev-guide/ui-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# UI Plugin Info

When used in the UI, your plugin can show additional information to make it more discoverable and recognizable.

## Logo

You can put a `logo.png` file in the root directory of the folder that will be published on npm. It will be displayed in several places:
- When searching for a plugin to install
- In the installed plugin list

![Plugins](/plugins.png)

The logo should be a square non-transparent image (ideally 84x84).

## Discoverability

For better discoverability when a user searches for your plugin, put keywords describing your plugin in the `description` field of the plugin `package.json` file.

Example:

```json
{
"name": "vue-cli-plugin-apollo",
"version": "0.7.7",
"description": "vue-cli plugin to add Apollo and GraphQL"
}
```

You should add the url to the plugin website or repository in the `homepage` or `repository` field so that a 'More info' button will be displayed in your plugin description:

```json
{
"repository": {
"type": "git",
"url": "git+https://github.com/Akryum/vue-cli-plugin-apollo.git"
},
"homepage": "https://github.com/Akryum/vue-cli-plugin-apollo#readme"
}
```

![Plugin search item](/plugin-search-item.png)

0 comments on commit 8c0f57c

Please sign in to comment.