skip to Main Content

So i have built an angular website that uses the GoogleBooksAPI to fetch some book list. And then I show it on my single page app.

Now, i’d like to deploy it somehow to see if it’s working.
So i tried to add the project to github pages. github project link:

https://github.com/DrorSC/DrorSC.github.io

And was unsuccesful..
So i thought on a different option. I have a domain, and a wordpress site on it. Maybe i can add the files to my Cpanel and load it into my domain? Or can i do it straight from wordpress?
Tried to look for answers, couldn’t find.
Please help. thank you 🙂

2

Answers


  1. After build the project. You can use the content of the dist directory into your host.

    If you will put your code into a subfolder, you will need specify the path as argument on the CLI for the build.

    Login or Signup to reply.
  2. If I understand correctly I think Angular Element will be your best choice. It works the best if you want to integrate Angular web app into your existing website.

    Building Custom Elements / Web Components with Angular 6

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search