Skip to content

Instantly share code, notes, and snippets.

@sturobson
Created April 14, 2016 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sturobson/f7d693feafd31d1199d7e9523914c26d to your computer and use it in GitHub Desktop.
Save sturobson/f7d693feafd31d1199d7e9523914c26d to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0">
<link media="all" rel="stylesheet" href="/css/main.css">
<title>Preview Layout</title>
</head>
<body>
{{{ yield }}}
</body>
</html>
'use strict';
/*
* Require the Fractal module
*/
const fractal = require('@frctl/fractal');
/*
* Give your project a title.
*/
fractal.set('project.title', 'pica');
/*
* Tell Fractal where to look for components.
*/
fractal.set('components.path', 'components');
/*
* Tekk Fractak where to look for component layout
*/
fractal.set('components.preview.layout', '@preview');
/*
* Tell Fractal where to look for documentation pages.
*/
fractal.set('docs.path', 'docs');
/*
* Tell the Fractal web preview plugin where to look for static assets.
*/
fractal.set('plugins.web.static.path', 'public');
The Sass globs and compiles to public/css/main.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment