Skip to content

How to convert angular cli to web pack #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SaravananArunagiri opened this issue Aug 17, 2017 · 11 comments
Closed

How to convert angular cli to web pack #1

SaravananArunagiri opened this issue Aug 17, 2017 · 11 comments

Comments

@SaravananArunagiri
Copy link

I created asp.net core 2.0 project with angular 4. Now i want to add core UI layout to that project. but in my project i does not have any angular CLI. only have the web pack. how i convert this?

@Ryan6795
Copy link

Ryan6795 commented Aug 20, 2017

@SaravananArunagiri I've been running into a lot of issues with .net core 2.0 and angular 4. I don't think the way the modules are being lazy loaded is supported the same way with angular 4. I maybe wrong. If anyone has any suggestions on how to get this working it would be great.

@dushkostanoeski
Copy link

I have no troubles with .net core 2.0 and angular 4. What's your webpack setup?

@Ryan6795
Copy link

I'm using a default template from visual studio, finding it a bit confusing as it doesn't seem to match any documentation out there in terms of structure.

This is my repo: https://github.com/Ryan6795/projectfinance/
where I wanted to plugin coreui.

@SaravananArunagiri
Copy link
Author

SaravananArunagiri commented Aug 22, 2017

@dushkostanoeski Did you apply the CoreUI.io theme in your project.
The problem is when we add the sass loader cannot run correctly.

@dushkostanoeski
Copy link

Have a look at this setup, this is how I got mine to work.

@SaravananArunagiri
Copy link
Author

SaravananArunagiri commented Aug 22, 2017

@Ryan6795 @dushkostanoeski Here i found the solution. It may be work.
CoreUI updated with npm.

npm install coreui.io@1.0.0-alpha.6

Just now i saw in website coreui.io

@Ryan6795
Copy link

I found my issue I didnt include the angular2-router-loader in my webpack.config.js file. It now works in production but not in development. I receive "WinHttpException: The connection with the server was terminated abnormally". I think my issue is different that yours now.

@theclifmeister
Copy link

What worked best for me was starting out with angular cli project. Then started an empty asp.net core 2 project in the same directory. Then in the angular cli config file change the dist path to wwwroot.

Check:
https://dustinewers.com/angular-cli-with-net-core/

@vardhineedik
Copy link

@SaravananArunagiri
how to do it can you share the steps, please help me I am using asp core 2.0 with angular 4 webpack

@SaravananArunagiri
Copy link
Author

@vardhineedik
Copy link

thanks @SaravananArunagiri

i am able to create angular project but I want to integrate the CoreUI in my project (my project is angular 4 with webpack ) please help me how to integrate the coreUI .

thanks

@mrholek mrholek closed this as completed May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants