1

My file is located in: dev/Posts/spinner.component.ts
I want to move it to dev/CustomHtml/spinner.component.ts

So instead of :
import {SpinnerComponent} from './spinner.component';
Should be:
import {SpinnerComponent} from 'dev/CustomHtml/spinner.component';

, but it doesn't work.

I can't seem to find any good documentation about this.
Please point me to some documentation, or give some examples here.
Thank you.

1 Answer 1

1

use ../ to go parent route, use this instead: ../CustomHtml/spinner.component

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks. I'm pretty sure i've tried that before and didn't work, but now it does.

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.