Skip to content

Local Module Docs #2172

@marcellino-ornelas

Description

@marcellino-ornelas

Hello friends 👋🏽 I took the time today to write a local module for some our specific purposes and noticed that there was really no docs around this. Lucky your open source so I can peep at source code but here are some issues i experienced

  1. I was confused on where and how to put my local modules.
    • I think the Local: add a file to your project's modules/ directory: should be moved down into the writing your module section. Its feels like a way better home for this because im completely passed this and went to the writing a module section.
  2. The documentation doesn't show at all how to use these locals. Now that I figured it out the Local: add a file to your project's modules/ directory: now makes sense and that they are automatically imported.
    • This is a little confusing in my perspective because you now have two different ways to import modules. I think this should be consolidated in some type of fashion so its more clear. Even if a dev were to come years later they probably would be confused on how my module is running. Importing the module and putting it in the array would be soooooo much more cleaner 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions