Skip to content

How do I use this programmatically? #18

@Asday

Description

@Asday

Can I use these programatically?

Yep! If you'd like to use Pattern Fills in your application. You can install patternfills via npm like so:

npm install --save patternfills

And then what?

import "patternfills" fails with "Could not find module in path: 'patternfills' relative to '/src/index.js'" (sandbox), and runkit has the following to say:

patternfills lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually

Attempting to import anything from a path under patternfills fails with the same error as trying to import patternfills itself.

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