mistic100 / mistic100/jQuery-QueryBuilder

Dir structure for custom plugin

Open
#979 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
544
PR merge metrics
No merged PRs in 30d

Description

I am creating a custom plugin and would like to know the correct dir structure for it. For now I have created a "plugins" folder at the same level as main.js and defaults.js. Inside "plugins" folder I have a folder for my custom plugin and inside that folder I have the plugin.js.

I am seeing the error: ConfigError: Unable to find plugin "parentBodyVerifies-group"

any idea about that? Thanks
dir

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the repository's main.js and defaults.js with the reported plugins directory and plugin.js entry point. Check how the custom plugin is expected to be located and loaded, then document the correct directory structure and configuration needed to avoid the reported ConfigError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.