Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
437 stars 22 forks source link

Support classification of layers #24

Closed seito2 closed 2 years ago

seito2 commented 3 years ago

I want to use like /atoms/**/*.dart for atomic design pattern. Is this already supported?

If no, is it able to support for this? thanks.

fertrig commented 3 years ago

Monarch will look for stories in files that end in *_stories.dart. Those files could be in nested sub-directories.

You can also tell Monarch which directories to search on by editing the file build.yaml:

targets:
  $default:
    sources:
      - $package$
      - lib/**
      - stories/**
      - atoms/**

I'm not sure if this answers your question though. Please let me know.

fertrig commented 2 years ago

Closing this issue for now. Feel free to re-open it if you have more information.