Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
/ shared-ng Public archive

The shared components used across all the ASWWU sites. This includes components, environments, services, and other things.

Notifications You must be signed in to change notification settings

ASWWU-Web/shared-ng

Repository files navigation

Setting up a new Angular Project

  1. generate a new project with AngularCLI
  2. add the ng-shared submodule to the new project
    1. from project root cd src then run git clone [email protected]:ASWWU-Web/shared-ng.git src/shared-ng
    2. then run git submodule add [email protected]:ASWWU-Web/shared-ng.git src/shared-ng
    3. to clone a project that already has submodules run git clone --recursive [repo URL], or git submodule update --init --recursive if you've already cloned the parent repository.
    4. more submodule related comands here: http://www.vogella.com/tutorials/GitSubmodules/article.html
  3. Update the app.module.ts, package.json, and index.html files using the examples folder as a guide.
  4. Add "src/shared-ng/bootstrap-overrides.scss", "src/shared-ng/styles.scss", (In that order! before "src/styles.css") to the angular.json file to projects.app-name.architect.build.options.styles, and add "src/shared-ng/favicon.ico" to projects.app-name.architect.build.options.assets.
  5. update the environment import in main.ts to be
    import { environment } from "./shared-ng/environments/environment";

About

The shared components used across all the ASWWU sites. This includes components, environments, services, and other things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published