Код: Выделить всё
Error: Could not resolve "src/custom-theme.scss"
angular:styles/global:styles:1:8:
1 │ @import 'src/custom-theme.scss';
╵ ~~~~~~~~~~~~~~~~~~~~~~~
Я также удалил и добавил @angular/mabritememe
- Array Styles (без упоминания Custom-theMe.scss )
Код: Выделить всё
angular.json - Все глобальные таблицы стилей (, src/styles/global.scss )
Код: Выделить всё
src/styles.scss - Любой компонент или библиотека SCSS -файлы
- I Deletet node_modules , .Angular cage и Rebuilt the Project_modules ,. />
- ran ng build с условным журналом, чтобы проследить ошибку
Я подозреваю, что кэш или скрытый справочник, но не могу его найти. Любой угловой CLI, материал или сторонние конфигурации, которые могут автоматически вводить эту ссылку? < /p>
Код: Выделить всё
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--purple: #8a2be2;
--electric-blue: #00ffff;
--indigo: #4b0082;
--black: #000;
--scroll-intensity: 0;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
margin: 0;
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(to bottom, var(--indigo), var(--black));
color: var(--electric-blue);
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: 80px, 60px, 100px;
background-position:
10% 20%,
80% 50%,
30% 75%;
opacity: 0.03;
z-index: -1;
pointer-events: none;
filter: blur(1px);
}
header,
footer {
color: var(--electric-blue);
}
.hidden {
opacity: 0;
filter: blur(5px);
transform: translateX(-100px);
transition: all 1s;
}
@media (prefers-reduced-motion) {
.hidden {
transition: none;
}
}
@media (max-width: 768px) {
.search-bar {
--expanded-width: 150px;
}
.nav-left {
gap: 10px;
}
}
@media (max-width: 768px) {
nav {
padding: 15px 20px;
}
.nav-left {
gap: 10px;
overflow-x: auto;
padding-right: 15px;
}
.nav-divider {
display: none;
}
}
@media (max-width: 768px) {
nav {
gap: 15px;
padding: 15px 10px;
overflow-x: auto;
white-space: nowrap;
justify-content: flex-start;
}
.nav-divider {
display: none;
}
}
Подробнее здесь: https://stackoverflow.com/questions/796 ... port-found
Мобильная версия