akveo / akveo/nebular

Bug with broken css styles after refreshing page

未关闭
#2,968 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### Issue type

**I'm submitting a bug report after installing ngx-admin and deploying it in production mode** (check one with "x")

* [x] bug report
* [ ] feature request

### Issue description

**Current behavior:**
Sometimes, after reloading or refreshing the page, broken styles are displayed for a second, for example: svg-icons at full screen size, then everything goes fine

**Expected behavior:**
Not to see broken styles after reloading or refreshing the page at all

**Steps to reproduce:**
Install ngx-admin following this guide (https://akveo.github.io/ngx-admin/docs/getting-started/installation-guidelines#install-ngxadmin).
Then run this command 'npm run build:prod'. Get the dist folder and put it under your web server. Then deploy server and try to refresh or reload pages multiple times.

**Related code:**
How bug looks like:

![bugimage](https://user-images.githubusercontent.com/50318178/144025746-1bef46df-f01c-43b8-b3ed-e9ce6d7433e6.png)

### Other information:

**npm, node, OS, Browser**
```

Node: 14.18.1
Package Manager: npm 7.24.2
OS: linux x64 ubuntu 20.04

Browser: Chrome 96, Opera, Edge

**Angular, Nebular**
Angular 12
Nebular 8

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。