merkle-open / twig-nitro-library

Extension to embrace the Terrific frontend methodology in Twig.
https://github.com/namics/twig-nitro-library
MIT License
6 stars 5 forks source link

Read config from `patterns.js` file instead of custom `config.json` #11

Open orlandothoeny opened 4 years ago

orlandothoeny commented 4 years ago

The frontend Twig Nitro Library uses a patterns.js file for it's configuration where the pattern/component paths are set. We currently use a custom config.json file that has to be placed inside the fronted directory.

We should preferably use the config file that is already provided by the frontend by default. See https://github.com/namics/generator-nitro/blob/develop/packages/project-nitro-twig/config/default/patterns.js