What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello team, I made some changes to one of the SCSS files, but cannot see changes. Can you help me re
Hello team,
I made some changes to one of the SCSS files, but cannot see changes.
Can you help me re-build those styles?
Comments
-
Hi!
I assume you made changes to
Yves
, right?There are 2 things you need to consider:
1.) Make sure your
scss
file is registered in the correspondingindex.ts
file of the component.2.) SCSS and Typescript changes are not applied instantly. Best way is to watch for changes by running
docker/sdk cli npm run yves:watch
0 -
Yes, changes are made for default Yves template.
I changedsrc/Pyz/Yves/ShopUi/Theme/default/styles/settings/_color.scss
0 -
Sadly, after running above CLI command, I cannot see any effect in browser.
0 -
can you share a screenshot from what you get in the console after running it?
0 -
Tons of things happens.
The very bottom looks like thisnamespace building statistics: Theme: default Components entry points: 250 Components styles: 96 Hash: 3c4c96eed7a17cbe040c Version: webpack 4.46.0 Time: 90967ms Built at: 09/12/2022 2:19:00 PM Asset Size Chunks Chunk Names ./css/yves_default.critical.css 53.1 KiB critical [emitted] critical ./css/yves_default.non-critical.css 40.1 KiB non-critical [emitted] non-critical ./css/yves_default.util.css 40.1 KiB util [emitted] util ./js/yves_default.app.js 53.3 KiB app app ./js/yves_default.critical.js 1.38 KiB critical [emitted] critical ./js/yves_default.es6-polyfill.js 1.02 KiB es6-polyfill es6-polyfill ./js/yves_default.non-critical.js 1.38 KiB non-critical [emitted] non-critical ./js/yves_default.runtime.js 14.5 KiB runtime runtime ./js/yves_default.util.js 968 bytes util [emitted] util ./js/yves_default.vendor.js 791 KiB vendor vendor
0 -
Interestingly, something happened. But it seems layout is completely broken now.
0 -
that usually happens if you have an error in your scss code
0 -
in that case you need to exit the command and start it again.
0 -
alright, that means your build should work fine, otherwise you would have received an error
0 -
It got it working after rebuilding yves.
Thank you.0 -
No worries.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random