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

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

Program With Erik

Program With Erik

Күн бұрын

Пікірлер: 64
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
📚 Check out this black friday - Cyber Monday sale!! course.vuecourse.tech
@mysterOrel7924
@mysterOrel7924 3 жыл бұрын
Heard this trick in a podcast... glad to see it in video ! This tricks are very useful !
@shahabdadkhan9104
@shahabdadkhan9104 3 жыл бұрын
Thanks Erik you saved my time
@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!
@kabahblog
@kabahblog Жыл бұрын
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 :-)
@МариАлекса
@МариАлекса 3 жыл бұрын
I was looking exactly that, thx a lot
@Raihan004
@Raihan004 2 жыл бұрын
How to configure for the nuxt? Thank you 😊
@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?
@paulthompson6934
@paulthompson6934 3 жыл бұрын
whats the name of the theme you are using in vscode?
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
Synthwave 84
@angelo.piletti
@angelo.piletti 3 жыл бұрын
You had helped me a lot bro! Thanks!!
@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 :-/
@lukasbabaliauskas1963
@lukasbabaliauskas1963 3 жыл бұрын
What VS code theme do you use?
@deborahvancelotte1522
@deborahvancelotte1522 3 жыл бұрын
I think is SynthWave ‘84
@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?
3 жыл бұрын
Thank you man.
@swojnowski453
@swojnowski453 2 жыл бұрын
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 ;)
@grizzyb4149
@grizzyb4149 3 жыл бұрын
Thanks
@abhinavgeorge5714
@abhinavgeorge5714 3 жыл бұрын
Noice !!!! Really luv ur vids !! Great vids
@ashrafuloli8403
@ashrafuloli8403 2 жыл бұрын
vary helpful
@Ghanshyam1987
@Ghanshyam1987 3 жыл бұрын
Can we use this trick in Angular as well?
@vinhvo4816
@vinhvo4816 3 жыл бұрын
What is extension lit up font ?
@yadusolparterre
@yadusolparterre 2 жыл бұрын
Isn't it bad practice to use @import? Scss requires us to use @use now
@mikhailzhuravlev4676
@mikhailzhuravlev4676 3 жыл бұрын
thanks, you're the best 👍
@rankail
@rankail 3 жыл бұрын
What should i do if i want to use an indentation of 1 tab instead of 2 spaces?
@downtownsocialite1206
@downtownsocialite1206 3 жыл бұрын
useful skills!! keep it up!
@kjn6037
@kjn6037 3 жыл бұрын
Any reason why you named your global css that starts wtih _ ?
@lupikas2008
@lupikas2008 3 жыл бұрын
isnt better to use scss style file rather SFC styling? And why?
@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.
@markocanovic4936
@markocanovic4936 3 жыл бұрын
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 3 жыл бұрын
Thanks!
@RavindraSwamyyarramneedi
@RavindraSwamyyarramneedi Жыл бұрын
not working vue3 application using cli
@fredericsteegmans3566
@fredericsteegmans3566 10 ай бұрын
Epic
@bakiyurekli6871
@bakiyurekli6871 3 жыл бұрын
teşekkürler
@markocanovic4936
@markocanovic4936 3 жыл бұрын
And now you get thumbs up! :P
@ProgramWithErik
@ProgramWithErik 3 жыл бұрын
Yay, thank you!
@heyyy4987
@heyyy4987 3 жыл бұрын
nice..
@solvedfyi
@solvedfyi 3 жыл бұрын
Trying to figure out if this title is making fun of clickbait or surrendering to it
@AcidRainbowSkies
@AcidRainbowSkies 3 жыл бұрын
Very helpful and looks really simple, thanks!
@markocanovic4936
@markocanovic4936 3 жыл бұрын
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 3 жыл бұрын
Yes! Check out some of my other vids on Vue and Sass
@vladutcornel
@vladutcornel 3 жыл бұрын
"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 3 жыл бұрын
I also do videos about programming!😁
@abhinavgeorge5714
@abhinavgeorge5714 3 жыл бұрын
Nice content man...... I also do the same thing
@thecscontent5110
@thecscontent5110 3 жыл бұрын
@@abhinavgeorge5714 Thanks man😄
@milkyway9225
@milkyway9225 3 жыл бұрын
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 3 жыл бұрын
Super cooool but better to use tailwindcss 😂😁😁😁🔥🔥🔥🔥
@DIMAWARCRAFT3
@DIMAWARCRAFT3 3 жыл бұрын
oh dude. too less likes then you deserve) ty sooooo much
@videoaudio7669
@videoaudio7669 3 жыл бұрын
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
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 17 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 90 МЛН
Stop using an extension to compile Sass
21:39
Kevin Powell
Рет қаралды 129 М.
Every New Vue Developer Has Made These Mistakes...
18:04
Program With Erik
Рет қаралды 45 М.
Why You Should Learn Vue.js 3! | Why You Should Learn Vue Today!
12:52
Program With Erik
Рет қаралды 21 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 177 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 765 М.
5 Easy Ways To Pass Info To Vue Components!
26:50
Program With Erik
Рет қаралды 28 М.
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 221 М.