npm i -D parcel
File | Settings -> Tools | File Watchers -> … npx parcel src/index.html
Для разработки и быстрой проверки изменений всегда используй npx parcel src/index.html. Для финальной сборки — npm run build. Почему, как думаешь, hot reload удобнее для верстки?
IDE settings: run stylelint –fix on save (save up 15% of dev time) npx stylelint ./src/styles/style.css –fix (save for issue of empty lines before media, etc as well)
❗❗ You will complete this task in the Landing topic. Now just choose a design and do the parts from the videos. Note: in the first task of this topic you will find 4 examples of landing pages. Choose only one of them and create your page.
Choose a design for your landing page:
Follow the instructions in this and next lessons to implement the page block by block:
main.scss
file. It is be explained in the Sass
lesson.Pixel Perfect
- implement it the most simple
way so it looks similar.background-image: url()
to be relative to the main.scss
. So should start with ../images
.