Repository files navigation lab-26-slugram
To Submit this Assignment
fork this repository
write all of your code in a directory named lab- + <your name> e.g. lab-duncan
push to your repository
submit a pull request to this repository
submit a link to your PR in canvas
write a question and observation on canvas
inclde an .eslintrc
inclde an .eslintingore
inclde a .gitignore
ignore the build directory
include a package.json
must have lint script
must have test script
must have test-watch script
must have build script
must have build-watch script
inclde a webpack.config.js
include all the production configurations
Create these directories to organize your code:
app
app/config
app/view
app/view/<your-views-dir>
app/scss
app/scss/lib
create a _theme.scss partial
create a _vendor.scss partial
build bootstrap from source
create a base.scss file
@import "theme"
@import "vendor"
create a entry.js
require your base.scss
use require.context to add all of your angular construct definitions
create three views /#/home, /#/signup/, /#/gallery
each view should have a controller
each controller should have a title property
each view should have a template
the template should use an angular expression to set the content of an h1 tag to its controllers title property
each view should have a sass file
to make your page pretty
write test to ensure the title proptery is set for EACH controller
/test/home-controller-test.js
/test/gallery-controller-test.js
/test/signup-controller-test.js
About
lab-26-routing
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.