Spa generator with Angular 1.5 error. #1476

Closed
opened 2025-08-09 17:20:17 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @asadsahi on 7/26/2016

Hi @SteveSanderson ,

I am attempting to configure the spa generator with Angular 1.5 after reading this conversation. Followed these steps:

  1. Scaffold using Angular 2 template
  2. removed Angular 2 dependencies, and installed angular 1 packages
  3. Just created basic angular 1.5 component
  4. Created vendor manifest file.

.. but getting window not defined, as shown below

image

Can you please guide me, how I can get angular 1.5 working with spa generator? Is there any sample with Angular 1.x?

I have created a git repository with current snapshopt here: if you want to investigate.

Appreciate your time.

Thanks

*Originally created by @asadsahi on 7/26/2016* Hi @SteveSanderson , I am attempting to configure the spa generator with Angular 1.5 after reading [this](https://github.com/aspnet/JavaScriptServices/issues/213) conversation. Followed these steps: 1. Scaffold using Angular 2 template 2. removed Angular 2 dependencies, and installed angular 1 packages 3. Just created basic angular 1.5 component 4. Created vendor manifest file. .. but getting window not defined, as shown below ![image](https://cloud.githubusercontent.com/assets/3470892/17158203/8fc802ce-538c-11e6-987d-8d8eaebf97f2.png) Can you please guide me, how I can get angular 1.5 working with spa generator? Is there any sample with Angular 1.x? I have created a git repository with current snapshopt [here](https://github.com/asadsahi/AspNetCoreAngularWebpack): if you want to investigate. Appreciate your time. Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1476
No description provided.