mistic100 / mistic100/jQuery-QueryBuilder
Dir structure for custom plugin
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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