Create New Page Component

In Progress
Gradient Able Gradient Able March 06, 2019
Login to reply
waqar khan
2 hours ago

Can you please reply on urgent bases? 

thanks alot

waqar khan
3 hours ago

Please reply its urgent...... ! :(

waqar khan
4 hours ago

What about this url? 

http://angular.mydemo.com/test

i am adding base like this

<base href="/test/">

and i think i am doing it wrong


Amit G Support Agent
7 hours ago

Hello, sir

Solution 1:

Upload the attached file 'data-filter.pipe.ts' at directory "src\app\shared\elements".

Solution 2

after building project open index.html file from dist folder and change path for <base />, like below 

<base href="/enter path without main domain with forward(/) path /">

if you path like : http://mydemo.com/angular/test/demo

then you need to set path like : /angular/test/demo/

If you have still any query contact us.

THANK YOU

waqar khan
7 hours ago

Hi, thanks for your reply but i don't understand.

Your answer should be more clear or explained.

i asked 2 questions in a previous comment.

1) why the error occors in a --prod build (and solution of it?)

2) what i have to do with subdomain? i have uploaded your htaccess file but it doesn't work.. i think it only works for main root not for sub domain

In your answer i don't understand the answer is related to question 1 or 2? and also don't understand which file i have to upload in this directory src\app\shared\elements? you didn't attached anything

Thank You

waqar

Amit G Support Agent
9 hours ago

Hello, sir

Upload the attached file at directory "src\app\shared\elements".

If you have still any query contact us.

THANK YOU

waqar khan
1 day ago

Hi, First of all i appreciate your help,

sir i have some problem in --prod build, first of all its running fine on local when i build it it gave me some library error,

secondly, i have your htaccess file but it wont work on subdomain.. can you please give me the htaccess file for subdomain.. When i refresh the page it shows 404 error, i think its htaccess issue you told me before

Please reply ASAP

Thanks

Waqar

waqar khan
4 days ago
Resolved.
Amit G Support Agent
4 days ago

Hello, Waqar Khan 

menu-items.js file is an auto-generated file, not need to use this file.

If you have any query, contact us.

THANK YOU

waqar khan
1 week ago

Can you please tell me why we have menu-items.js??

i know the purpose of menu-items.ts... it help in routing.. but i didn't understand the purpose of menu-items.js

please answer.

thanks.

waqar khan
1 week ago
Resolved.
waqar khan
1 week ago

Thanks

Amit G Support Agent
1 week ago

Hello, Waqar Khan

Yes, a commands available for creating modules and routes file. 

Follow below commands -

1) Create a module with routing file - ng g m module_name --routing

2) Create a Component - ng g c component_name

If you have any query, contact us.

THANK YOU

waqar khan
1 week ago

Thabks for your reply.. I just need to ask you one more question... How to add multiple pages.. Like you have created.. For example i need to create a page forms/basic.. As you already created .. Any commands? Because angular commands only create components.. How to create modules and routes files in it

Please answer...

Coded Themes Support Agent
2 weeks ago

Sir, please add .htaccess file in your directory root.

Attach is .htaccess file for that.


waqar khan
2 weeks ago

Why i get 404 error when i refresh the link on server? its working fine on local

waqar khan
2 weeks ago

What is the purpose of menu-item.js???

waqar khan
2 weeks ago
Resolved.
waqar khan
2 weeks ago

i want to create New Page Like login but when i create "ng -g component login " it does not have the Module and route.ts files.. your documentation is not about these thing? Can you please give the complete Documentation? where i can see how to manage this theme. how to change names of all the component that won't effect the theme

and please also give access to github?

Additional Info

Issue with?: Angular