|
1 |
| -# Phase2's Front End Tooling Documentation (Particle & Friends) |
| 1 | +# Intro |
2 | 2 |
|
3 |
| -## live docs available [here](https://phase2.github.io/frontend-docs/) |
| 3 | +Particle is an opinionated set of tools and examples to: |
4 | 4 |
|
5 |
| -## to work on & edit locally: |
| 5 | +1. Build an application-agnostic **design system** made of assets like Twig, Sass, JavaScript, images, etc |
| 6 | +2. Apply that **design system** to a locally-served Pattern Lab for rapid prototyping |
| 7 | +3. Apply that **design system** to other consuming apps like, Drupal, Grav, or \(soon\) Wordpress |
6 | 8 |
|
7 |
| - pip install mkdocs |
8 |
| - mkdocs serve |
| 9 | +## Particle Features |
9 | 10 |
|
10 |
| -# published with: |
| 11 | +* Drupal theme, Grav theme, [Pattern Lab](https://patternlab.io/docs/) instance |
| 12 | +* Strict [Atomic Design](http://atomicdesign.bradfrost.com/) component structure |
| 13 | +* Robust Webpack bundling of all CSS, JavaScript, font, and static assets for multiple targets |
| 14 | +* [Webpack Dev Server](https://github.com/webpack/webpack-dev-server) for local hosting and hot reloading of assets into Pattern Lab |
| 15 | +* [Twig namespaced paths](https://symfony.com/doc/current/templating/namespaced_paths.html) automatically added into Drupal theme and Pattern Lab config; within any Twig file, `@atoms/thing.twig` means the same thing to Drupal theme and Pattern Lab |
| 16 | +* Iconfont auto-generation |
| 17 | +* Bootstrap 4 integration, used for all starting example components |
| 18 | +* Auto-linting against the [AirBnB JavaScript Style Guide](https://github.com/airbnb/javascript) and sane Sass standards |
| 19 | +* All Webpack and Gulp files are fully configurable |
| 20 | +* [PostCSS](https://github.com/postcss/postcss/blob/master/README.md) automation and expansion, with [Autoprefixer](https://github.com/postcss/autoprefixer/blob/master/README.md). |
| 21 | + |
| 22 | +## Documentation To-Do List |
| 23 | + |
| 24 | +* Go over basics of Pattern Lab, the specific way Particle has Pattern Lab set up by default, and suggested uses. |
| 25 | +* Folder & config structure need updated to current Webpack structure |
| 26 | +* Explain Particle.js and how the `Particle()` function smashes various Webpack configs together |
| 27 | +* Explain Webpack structure \(CSS modes, etc.\) |
| 28 | +* Expand on technologies Particle automatically includes to make Sass/JS faster. |
| 29 | +* Troubleshooting cleanup \("nothing to see here", datetime error?, etc.\) |
| 30 | +* Testing notes \(Jest, Pa11y, Cypress?\) |
| 31 | +* Vue-related notes |
| 32 | +* Example workflows |
| 33 | +* Flesh out the "thinking" sections |
| 34 | +* Update the Drupal apps section \(what goes here vs. Drupal under Frontend?\) |
11 | 35 |
|
12 |
| - mkdocs gh-deploy |
|
0 commit comments