Skip to content

Instantly share code, notes, and snippets.

@allmarkedup
Created March 5, 2016 21:14
Show Gist options
  • Save allmarkedup/67a71e49b6f6cc083466 to your computer and use it in GitHub Desktop.
Save allmarkedup/67a71e49b6f6cc083466 to your computer and use it in GitHub Desktop.
Configuring fractal as part of a bootstrap process in another file
require('./setup.js');
const fractal = require('@frctl/fractal');
const myOtherThing = require('mot');
fractal.set('components.path', 'src/components');
fractal.set('docs.path', 'src/docs');
fractal.set('plugins.web.static.path', 'public');
myOtherThing.setup('foo', 'bar');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment