Skip to content

angelajholden/ui-table

Repository files navigation

UI Table 🐝

A mobile friendly and accessible table.


Resources


Get Started

git clone [email protected]:angelajholden/ui-table.git

npm install

Grunt

Run grunt on the terminal to compile SCSS and JS.


Live Reload

Listens on port: 8000 by default. Double check the grunt terminal output to be sure.

http://127.0.0.1:8000

Source Folders

Edit SCSS and JavaScript in the Components directory. Add scripts and styles as needed.

components/
|__ scripts/
    |__ main.js

|__ scss/
    |__ _variables.scss
    |__ _normalize.scss
    |__ _main.scss
    |__ styles.scss

Compiled Folders

Grunt will compile your SCSS and JavaScript like this.

dist/
|__ js/
    |__ scripts.js
    |__ scripts.min.js
    |__ scripts.min.js.map

|__ css/
    |__ styles.css
    |__ styles.map.css

Heroku

Deployed to Heroku as a php app.

<?php
/*
To deploy static HTML projects, we need to let Heroku think this is a PHP app
If you don't need this, delete index.php and change the name of home.html to index.html
*/
include_once('home.html');
?>

Cheers!
Angela 💕