Kumaresan Perumal
Kumaresan Perumal

Reputation: 53

How to load .html file without loading angular 5 js (vendor, main.bundle etc ..) files?

I am doing an angular 5 project. there I have to show terms and conditions page without loading angular 5 js files. such as vendor, main bundle, some other files.

I want to display the tc.html file only without help of angular route. I added a screenshot here. placed terms-and-conditions-en.html under index.html. please provide me a good suggestion.

Upvotes: 2

Views: 479

Answers (1)

Kasabucki Alexandr
Kasabucki Alexandr

Reputation: 630

You should just serve your html file. For example you can put it into public folder and open in in browser using it's name:

localhost:3000/terms-and-conditions-en.html

Upvotes: 2

Related Questions