akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.28k stars 7.96k forks source link

Webpack 4 with ngx-admin #1867

Open sivkaneti opened 6 years ago

sivkaneti commented 6 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior: I am trying to work with webpack 4 with ngx-admin project- But all the theme style is not working. Everything compiled successfully and the angular is running, except the theme style. I am probably missing something but I am not sure what.

Expected behavior: To be able to run the ngx-admin with webpack 4.

Steps to reproduce:

  1. I cloned the ngx-admin start kit
  2. Added webpack configuration

Related code:

insert short code snippets here

Other information:

npm, node, OS, Browser

<!--
Node, npm: `node --version` and `npm --version`
OS: Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
Browser: Chrome/Safari/Firefox/etc?
-->

Angular, Nebular

<!--
Check your `package-lock.json` or locate a `package.json` in the `node_modules` folder.
-->
yggg commented 6 years ago

Hi @sivkaneti. Make sure you included styles.scss into your webpack config.

superandrew commented 6 years ago

I have the same exact problem. @yggg could you please elaborate? I'm trying to figure out how to make the project run on webpack, but I'm really struggling.

sivkaneti commented 6 years ago

@superandrew did you find something?

sivkaneti commented 5 years ago

@yggg Hi, I am still struggling with this issue. I don't have errors, but I don't see the application style at all. It seems webpack did catch the configuration. Also, styles.scss is configured in webpack files. Any help will be appreciated

mayijun0410 commented 5 years ago

Can someone give a webpackconfig for angular7 of this project