- generate a new project with AngularCLI
- add the ng-shared submodule to the new project
- from project root
cd src
then 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 --recursive
if 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.html
files using theexamples
folder 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.ts
to beimport { environment } from "./shared-ng/environments/environment";
-
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