This One Weird Sass Trick Will Save You Time On Your Next Project! // Vue Sass Tutorial Tricks

  Рет қаралды 17,554

Program With Erik

Program With Erik

Күн бұрын

Пікірлер: 64
@ProgramWithErik
@ProgramWithErik 4 жыл бұрын
📚 Check out this black friday - Cyber Monday sale!! course.vuecourse.tech
@mysterOrel7924
@mysterOrel7924 4 жыл бұрын
Heard this trick in a podcast... glad to see it in video ! This tricks are very useful !
@InglesporMinutoconAnthonyMartz
@InglesporMinutoconAnthonyMartz 3 жыл бұрын
can you add more than one additional data with the route to another scss file, so you can have multiple sharable scss files across the different components?
@Raihan004
@Raihan004 2 жыл бұрын
How to configure for the nuxt? Thank you 😊
@abhinavgeorge5714
@abhinavgeorge5714 4 жыл бұрын
Noice !!!! Really luv ur vids !! Great vids
@shahabdadkhan9104
@shahabdadkhan9104 3 жыл бұрын
Thanks Erik you saved my time
@angelo.piletti
@angelo.piletti 3 жыл бұрын
You had helped me a lot bro! Thanks!!
@МариАлекса
@МариАлекса 3 жыл бұрын
I was looking exactly that, thx a lot
@paulthompson6934
@paulthompson6934 3 жыл бұрын
whats the name of the theme you are using in vscode?
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
Synthwave 84
@kabahblog
@kabahblog 2 жыл бұрын
In order to make the Css file in the public folder as a compressed file, what should I add? thank you
@shadow_3213
@shadow_3213 3 жыл бұрын
I am currently creating a shopping basket with Vue 3 and SASS, thanks for the hint :-)
@lukasbabaliauskas1963
@lukasbabaliauskas1963 3 жыл бұрын
What VS code theme do you use?
@deborahvancelotte1522
@deborahvancelotte1522 3 жыл бұрын
I think is SynthWave ‘84
@kenbee85
@kenbee85 3 жыл бұрын
Thanks for this. I have encountered an error while following this tutorial. For some reason it doesn't work. I think i have the latest vue cli so I used this instead: npm install -D sass-loader@^10 sass Which was actually on the guide with vue sass loader. Just in case some also encountered an issue. Cheers!
@InglesporMinutoconAnthonyMartz
@InglesporMinutoconAnthonyMartz 3 жыл бұрын
thanks for the suggestion, i was getting that error
@jorgecanas3668
@jorgecanas3668 3 жыл бұрын
I've seen 20 incorrect tutorials before yours, thank you sir!
@GamerWho
@GamerWho 3 жыл бұрын
Does this still work if you are using nuxt? I get errors thrown in my components that my sass variables defined in my global are undefined :-/
@downtownsocialite1206
@downtownsocialite1206 3 жыл бұрын
useful skills!! keep it up!
@vinhvo4816
@vinhvo4816 3 жыл бұрын
What is extension lit up font ?
@mikhailzhuravlev4676
@mikhailzhuravlev4676 3 жыл бұрын
thanks, you're the best 👍
@kjn6037
@kjn6037 4 жыл бұрын
Any reason why you named your global css that starts wtih _ ?
3 жыл бұрын
Thank you man.
@Ghanshyam1987
@Ghanshyam1987 4 жыл бұрын
Can we use this trick in Angular as well?
@tolgabeyazoglu536
@tolgabeyazoglu536 2 жыл бұрын
When I add a new import file, the server does not start without turning it off and on, what do you think?
@ashrafuloli8403
@ashrafuloli8403 2 жыл бұрын
vary helpful
@rankail
@rankail 3 жыл бұрын
What should i do if i want to use an indentation of 1 tab instead of 2 spaces?
@AcidRainbowSkies
@AcidRainbowSkies 3 жыл бұрын
Very helpful and looks really simple, thanks!
@lupikas2008
@lupikas2008 4 жыл бұрын
isnt better to use scss style file rather SFC styling? And why?
@markocanovic4936
@markocanovic4936 4 жыл бұрын
Ok the issue is with Node version , if you use Node 14.x.x and you use --> "vue init webpack app-test..." Then you need to install node-sass@4.14.1 and if you use Node 15.x.x then it won't work..
@ProgramWithErik
@ProgramWithErik 4 жыл бұрын
Thanks!
@yadusolparterre
@yadusolparterre 2 жыл бұрын
Isn't it bad practice to use @import? Scss requires us to use @use now
@grizzyb4149
@grizzyb4149 3 жыл бұрын
Thanks
@markocanovic4936
@markocanovic4936 4 жыл бұрын
And now you get thumbs up! :P
@ProgramWithErik
@ProgramWithErik 4 жыл бұрын
Yay, thank you!
@swojnowski453
@swojnowski453 3 жыл бұрын
Do it like that and you will have to remember you did it like that. Do it for 6 different files and you are lost after a day or two. After 3 days you will be scratching your head why stuff that is supposed to be working is this way is working that way. In summary, build trees not graphs (yeah, I know a tree is a graph), hopefully you know what I mean ;)
@RavindraSwamyyarramneedi
@RavindraSwamyyarramneedi Жыл бұрын
not working vue3 application using cli
@marble_wraith
@marble_wraith 3 жыл бұрын
1. Don't use @import any more, use @use and/or @forward. 2. In vite 2.0 the setup is the same, except it's in vite.config.[ js/ts ]
@OttoAgne
@OttoAgne 3 жыл бұрын
& scss will compiled (to css) on the vite server running? is a PostCSS needed
@mattc16
@mattc16 2 жыл бұрын
For reference, @import would pull in the entire file every time you imported it from multiple files and every variable, mixin, etc was global. @use - only imports the file once, no matter how many times it’s imported from different files. It also makes variables, mixing, etc. scoped to the file with a namespace so that you can find errors much easier. @forward - does the same thing as @use except it makes all variables, mixing, etc. local to the file you are bringing it in on. This way you don’t have to use namespaces. This is great for index files.
@SLRModShop
@SLRModShop 2 жыл бұрын
@@mattc16 how do add namespaces in vue.cofing.js? AdditionalData has backquotes so, in '@use "@/styles/sass/variables.scss" as variables' (for example) 'as variables' isn't interpreted.
@fredericsteegmans3566
@fredericsteegmans3566 Жыл бұрын
Epic
@bakiyurekli6871
@bakiyurekli6871 3 жыл бұрын
teşekkürler
@markocanovic4936
@markocanovic4936 4 жыл бұрын
Not working, I don't know how I have issue installing SASS always. Now I need to first solve issue of installing SASS and then too watch this video..
@ProgramWithErik
@ProgramWithErik 4 жыл бұрын
Yes! Check out some of my other vids on Vue and Sass
@heyyy4987
@heyyy4987 4 жыл бұрын
nice..
@solvedfyi
@solvedfyi 4 жыл бұрын
Trying to figure out if this title is making fun of clickbait or surrendering to it
@vladutcornel
@vladutcornel 4 жыл бұрын
"For Sass, use SCSS" - This must be so confusing, unless you know why that is.
@wasd3108
@wasd3108 3 жыл бұрын
well is it tho, u go to their website and see sass and scss and css next to eachother, ok scss is with css rules, brackets, semicolons, ok whatever ill add those and finito
@thecscontent5110
@thecscontent5110 4 жыл бұрын
I also do videos about programming!😁
@abhinavgeorge5714
@abhinavgeorge5714 4 жыл бұрын
Nice content man...... I also do the same thing
@thecscontent5110
@thecscontent5110 4 жыл бұрын
@@abhinavgeorge5714 Thanks man😄
@DIMAWARCRAFT3
@DIMAWARCRAFT3 3 жыл бұрын
oh dude. too less likes then you deserve) ty sooooo much
@milkyway9225
@milkyway9225 4 жыл бұрын
This one weird trick made woman want me. How many ,,these one weird tricks" are there? I love how youtube geeks incorporate these one weird tricks from adult sites to their cheap clickbaits :D
@jimmyj.6792
@jimmyj.6792 4 жыл бұрын
Super cooool but better to use tailwindcss 😂😁😁😁🔥🔥🔥🔥
@videoaudio7669
@videoaudio7669 4 жыл бұрын
Tired of your tricks
Six Web Development Tips To Make Your Developer Ergonomics Better!
16:17
Program With Erik
Рет қаралды 4,6 М.
Vue.js Tips: Use Slots The Right Way // VUE.JS SLOTS TUTORIAL WITH VUE 3
11:59
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Every New Vue Developer Has Made These Mistakes...
18:04
Program With Erik
Рет қаралды 45 М.
Learn Sass In 20 Minutes | Sass Crash Course
19:42
developedbyed
Рет қаралды 945 М.
Stop using @import with Sass | @use and @forward explained
13:13
Kevin Powell
Рет қаралды 255 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
Sass and BEM for beginners
3:45:10
Coder Coder
Рет қаралды 260 М.
Vue 3: Reactivity Made Easy (ref, reactive, toRefs... oh my!)
13:04
Program With Erik
Рет қаралды 50 М.
Why You Should Learn Vue.js 3! | Why You Should Learn Vue Today!
12:52
Program With Erik
Рет қаралды 21 М.
Sass Crash Course 2022
58:51
Pixel Rocket
Рет қаралды 31 М.
Why I Love CSS Modules in Vue.js
14:04
BenCodeZen
Рет қаралды 13 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН