Skip to content

FabianCruz-0/FabianCruz-0.github.io

Repository files navigation

👨‍💻 Fabián Cruz.

Portfolio page.

🚀 Go to page.

  • Made with Angular CLI version 12.2.2.
  • Deployed at GitHub Pages with angular-cli-ghpages package.

How was deployed.

  1. npm install -g angular-cli-ghpages.
  2. ng deploy --base-href=/

For more options/information visit the package documentation.


How I imported an external module on a component.

  1. Create the route 'assets/js/moduleHere.js'.
  2. Inidicate the module route in angular.json -> scripts:
"scripts": [
              "src/assets/js/moduleHere.js"
            ]
  1. On the .ts file of the component:
declare const objectToImport:any;
  • the name of the constant has to be equal to the module object.

If everything was done correctly, you can now make use of the imported object in the component.

About

Portfolio and personal page made with Angular CLI.

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •