View Code? Open in Web Editor
NEW
This project forked from codefellows-javascript-401d13/24-angular_routing
Lab 24 - Angular Routing
JavaScript 80.87%
HTML 19.13%
24-angular_routing's Introduction
Lab 24 - Angular Routing
To Submit this Assignment
- create a fork of this repository
- 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
.eslintrc
.babelrc
.gitignore
package.json
- create an npm
build
script for running webpack
- create an npm
build-watch
script for running webpack-dev-server --inline --hot
- create an npm
lint
script for linting your JS with eslint
- ignore the build directory
webpack.config.js
- this should include all of the production environment configurations used in lecture code
- Create these directories to organize your code:
- app
- app/config
- app/view
- app/view/<your-views-dir>
- app/scss
- Include a main.scss file
- add a layer of "lo-fi" styling - only use the following colors:
#fff
, #000
, #444
, #888
- Include an entry.js file
- use
require.context
to add all of your angular construct definitions
- Create two views
/#/home
and /#/signup/
- 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>
to its controllers title property
- each view should include a
.scss
file
24-angular_routing's People
Contributors