quiz Flashcards
contains most of the files and folders that you will actually be working on to create an app.
src
found inside the src folder. Contains the folders relating to individual pages or tabs of an app.
app
The root Module for an app. Modules found here will be used by the entire app.
app.module.ts
Defines the routes (navigation) used in the app (what URL matches up to which tab/page/component).
app-routing.module.ts
Defines a regular component, which is what all the pages in the app will be, but it is the root component.
app.component.ts
contains the template for the root component. is what controls what component is displayed to the user based on the current route.
app.component.html
deals with unit testing. You probably won’t change any of this with the size projects we do for the class.
app.component.spec.ts
tabs/pages
the folders contain the pages or tabs of an app. Each folder will contain 5 files.
*.modules.ts
file that imports required functionality
*.page.ts
which defines the logic/behavior related to the page
*.page.html
which defines the template/view for the page
*.page.scss
file which defines the styling for the page
*.page.spec.ts
deals with unit testing. May never use.
assets
typically stores images you want to bundle with your app, but can contain any static asset.
theme
holds the variables.scss file which is where you can define the CSS4 variables to modify the theme of your application.
www
You never need to touch with code in this folder. It is created when you perform a build of the app. It is the “transpiled” code that is understood by browsers and is the code that is actually run when a user uses the app.
package.json
contains configuration information for a project. Has all the dependencies (external libraries/packages required to make a project work.