1

We have done creating single page app in Angular4 and then we got a need to have index page for welcome purpose having completely different in design, loading completely different css/js files, I googled it through and got this link to put is a direction:

Serving static html outside Angular4

But when I change the name of index.html to app.html and same in .angular-cli.json, I get this error:

ERROR in   Error: Child compilation failed:
  Entry module not found: Error: Can't resolve '/src/index.html' 

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.