https://github.com/nocobase/plugin-samples
https://github.com/nocobase/plugin-samples
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nocobase/plugin-samples
- Owner: nocobase
- Created: 2024-01-16T07:28:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-22T09:10:29.000Z (over 1 year ago)
- Last Synced: 2024-05-23T10:04:49.888Z (over 1 year ago)
- Language: TypeScript
- Size: 753 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NocoBase Plugin Samples
[Document](https://docs.nocobase.com/plugin-samples)
## Install
```bash
yarn install
yarn nocobase install
```## Add Plugin
### Via CLI
```bash
yarn pm add plugin-package-name
yarn pm enable plugin-package-name
```Example:
```bash
yarn pm add @nocobase-sample/plugin-add-page
yarn pm enable @nocobase-sample/plugin-add-page
```### Via `.env` file
```
APPEND_PRESET_BUILT_IN_PLUGINS=@nocobase-sample/plugin-add-page,@nocobase-sample/plugin-block-carousel
```## DEV
```bash
yarn dev
```Then open [http://localhost:3000](http://localhost:3000) in your browser.