简体   繁体   English

SCSS 到 CSS 样式表

[英]SCSS to CSS style sheet

I'm still new with web development.我还是 web 开发的新手。 Right now, just new with angular.现在,刚刚使用 angular。 How can I change from SCSS to CSS stylesheet cause I accidently select SCSS style when I create a new angular project.如何从 SCSS 更改为 CSS 样式表,因为我在创建新的 angular 项目时不小心 select SCSS 样式。

One more thing, how can I change terminal bar in VS Code from还有一件事,我如何更改 VS Code 中的终端栏图 1 to图 2 . . I tried to Google but can't find the answer.我试图谷歌但找不到答案。

Configuring Your Default Angular Component Extension配置您的默认 Angular 组件扩展

To have Angular default to generating components with CSS files and not SCSS files, simply edit your configuration.要让 Angular 默认使用 CSS 文件而不是 SCSS 文件生成组件,只需编辑您的配置。 Keep in mind you can still use CSS syntax inside SCSS files.请记住,您仍然可以在 SCSS 文件中使用 CSS 语法。

ng config schematics.@schematics/angular:component.styleext css

You can also do this process by hand by editing your angular.json file您也可以通过编辑angular.json文件手动完成此过程

VS Code Terminal Tabs VS Code 终端选项卡

Open your VS Code settings and search for terminal.integrated.tabs.enabled and check the option named Terminal > Integrated > Tabs .打开您的 VS Code 设置并搜索terminal.integrated.tabs.enabled并检查名为Terminal > Integrated > Tabs的选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM