Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uwhealth/front-end-framework
A number of frontend technologies to get any e-Health website or application off the ground.
https://github.com/uwhealth/front-end-framework
boilerplate css sass-framework
Last synced: 3 months ago
JSON representation
A number of frontend technologies to get any e-Health website or application off the ground.
- Host: GitHub
- URL: https://github.com/uwhealth/front-end-framework
- Owner: UWHealth
- Created: 2014-01-15T00:15:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-01-16T18:10:28.000Z (almost 5 years ago)
- Last Synced: 2024-10-15T16:21:31.666Z (3 months ago)
- Topics: boilerplate, css, sass-framework
- Language: JavaScript
- Homepage: http://uwhealth.github.io/Front-End-Framework/
- Size: 12.6 MB
- Stars: 3
- Watchers: 11
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Front-End-Framework](http://uwhealth.github.io/Front-End-Framework/)
===================[Our Workspace](https://workspaces.uconnect.wisc.edu/display/ehealth/Front+End+Design) (Requires UW Health intranet access)
## Software
1. [Node](https://nodejs.org/)
2. [Gulp](http://gulpjs.com/)
* Run `npm install --global gulp` from the command line after Node has been installed.## Set up
1. [Clone or fork this repository](https://github.com/UWHealth/Front-End-Framework.git)
2. Using the command line (preferably using PowerShell rather than cmd.exe), `cd` to the Framework's directory.
3. Run `npm install`.
5. Run `gulp` (from the command line).
6. Open a browser and go to [localhost:3000](http://localhost:3000/). This is your local running copy of the framework.
7. **Start codin' and compilin'.**---
## Tips and Tricks
### Style Guide generation
The style guide you are reading is generated on the fly by the `gulp` task `styleguide` (using the markdown-styleguide-generator node module).To create style guide entries, create a comment block with the `SG` in the first line. The next immediate line should be title of your style guide entry (using a `#` to demarcate the start). A `/` will indicate a sub-section title. So `#Title/Sub-section` will create a parent section named "Title", with a child named "Sub-section".
Create `html` examples (with a code snippet) by creating a code block followed by "html_example" (\`\`\`html_example).
Separating "development" comments from "styles" requires adding a `[[dev]]` anywhere within the title of that section.
/* SG
# Section/Component
This is an example Component.```html_example
...
```
* /Everything will be run through [Markdown(GitHub Flavored)](https://guides.github.com/features/mastering-markdown/). This allows text formatting and code samples.
### Gulp arguments
Running `gulp` by itself will compile your Sass and concatenate your Javascript, but you may need some additional build steps for a complete workflow. Our gulp file accepts arguments in the form of `gulp --argument1 --argument2` to turn certain tasks on and off.###### Minify/Uglify
Running `gulp --uglify` will compress your css and js files into a single line.###### No Style Guide
Running `gulp --no-sg` will prevent style guide generation. This can be useful if you are simply working on styles only since the style guide forces a page reload.###### Sourcemaps
Running `gulp --sourcemaps` or `gulp --sm` will add source maps to your Javascript and CSS. Very useful if working with concatenated, uglified, or tangled Sass code. [Learn more about source maps](http://blog.teamtreehouse.com/introduction-source-maps).###### JS Hint
Running `gulp --lint` or `gulp --hint` will run your JS through [JSHint](https://github.com/jshint/jshint). You can change the project's hinting rules by modifying the `.jshintrc` file and ignore files via the `.jshintignore` file (both at the root of the project). This is usually necessary for plugins or other highly optimized javascript since JSHint will emit errors about code readability.