You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where should I put 3rd party scss? I found this question, but no solution.
I am using Kendo UI for Angular and I need to place scss globally.
I tried to add it to main.browser.ts, but it is not added.
import './polyfills/browser.polyfills';
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { BrowserAppModule } from './app/browser-app.module';
import "../node_modules/@progress/kendo-theme-default/scss/all.scss"; //<-----------------------
const rootElemTagName = 'app'; // Update this if you change your root component selector
// // Enable either Hot Module Reloading or production mode
if (module['hot']) {
module['hot'].accept();
module['hot'].dispose(() => {
// Before restarting the app, we create a new root element and dispose the old one
const oldRootElem = document.querySelector(rootElemTagName);
const newRootElem = document.createElement(rootElemTagName);
oldRootElem.parentNode.insertBefore(newRootElem, oldRootElem);
modulePromise.then(appModule => appModule.destroy());
});
} else {
enableProdMode();
}
const modulePromise = platformBrowserDynamic().bootstrapModule(BrowserAppModule);
The text was updated successfully, but these errors were encountered:
Where should I put 3rd party scss? I found this question, but no solution.
I am using Kendo UI for Angular and I need to place scss globally.
I tried to add it to main.browser.ts, but it is not added.
The text was updated successfully, but these errors were encountered: