- generate a new project with AngularCLI
- add the ng-shared submodule to the new project
- from project root
cd srcthen rungit clone [email protected]:ASWWU-Web/shared-ng.git src/shared-ng - then run
git submodule add [email protected]:ASWWU-Web/shared-ng.git src/shared-ng - to clone a project that already has submodules run
git clone --recursive [repo URL], orgit submodule update --init --recursiveif you've already cloned the parent repository. - more submodule related comands here: http://www.vogella.com/tutorials/GitSubmodules/article.html
- from project root
- Update the
app.module.ts,package.json, andindex.htmlfiles using theexamplesfolder as a guide. - Add
"src/shared-ng/bootstrap-overrides.scss", "src/shared-ng/styles.scss",(In that order! before"src/styles.css") to the angular.json file toprojects.app-name.architect.build.options.styles, and add"src/shared-ng/favicon.ico"toprojects.app-name.architect.build.options.assets. - update the environment import in
main.tsto beimport { environment } from "./shared-ng/environments/environment";
This repository was archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
ASWWU-Web/shared-ng
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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 0
No packages published