Тёмный

Stop Using Vue CLI! 

Program With Erik
Подписаться 122 тыс.
Просмотров 18 тыс.
50% 1

It's simple enough, but don't use Vue CLI. But why should you not use Vue CLI when create Vue 2 and Vue.js 3 apps? In this video I explore that question and what to do about.
👉Check out my last videoon getting started with Nuxt + Auth
• Nuxt 3 + Authenticatio...
👉 Sign up and get free Vue cheat sheets and updates!
www.vuecourse.tech
👉 Need some help with a project, level up your skills, Vuetify or Nuxt bug? Check out my 1-on-1 mentoring!
mentorcruise.com/mentor/erikh...

Опубликовано:

 

11 дек 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@ProgramWithErik
@ProgramWithErik Год назад
Do you still use Vue CLI? Why or Why not? Also shameless plug for mentoring if you need help with Vue, react and more! mentorcruise.com/mentor/erikhanchett/
@ColinRichardson
@ColinRichardson Год назад
@vue/cli ui allows you to start a project with pwa and pinia already configured and ready to use. Every time I tried to do it manually I always seem to do something wrong and end up just abandoning the whole project.
@scalarcoding
@scalarcoding Год назад
You're just like a psyche dude, I drop by this video after CLI took few minutes of my life creating new project. So glad to be here. Thanks.
@martinfinch5011
@martinfinch5011 Год назад
Great video as always Erik. I've been watching your channel for about a year now. Primarily been focused on Vue with Amplify. I've been a Unity dev for 10+ years but been working on my full stack Web dev skills. Slowly getting there. Thanks for all the info 👍👍😎
@ProgramWithErik
@ProgramWithErik Год назад
You are welcome!
@andreas7027
@andreas7027 Год назад
I have a massive Vue2 project that was generated with vue-cli. I would like to add TypeScript and update to Vue3. Would the easiest way to migrate be to just make a clean Vite installation and move my src/ dir into the new one and then resolve each issue one by one? Or how would you tackle the problem?
@daboarder
@daboarder Год назад
Im Still using Vue 2 because of Vuetify and the easy setup with Vue CLI. But is there a Good tutorial for creating a VUE3 App with NPM, Vite, Vuetify, Typescript, Router and Vuex?
@odehadejoh9966
@odehadejoh9966 Год назад
Yeah, so many ways to `create vue`... Who knew? Great video Erik
@derjansan9564
@derjansan9564 Год назад
Still using Vue CLI out of laziness, but be aware that Vue CLI will add support for Internet Explorer, so it will add some polyfills that can really drag your app down, for example when using class fields. I was wondering half a year why class fields are so slow in Chrome until I finally realized that Vue CLI was adding those polyfills.
@pedroshift
@pedroshift Год назад
How does vite would work for projects based on Symfony Framework? I always have this question in mind, since my way of integrating Vue and Symfony is totally based on Webpack Encore... and I don't really understand how it would work with Vite :(
@ProgramWithErik
@ProgramWithErik Год назад
That might be an edge case that you need Vue CLI with webpack
@martinfinch5011
@martinfinch5011 Год назад
Probably a pretty dumb question, but im still fairly new to web dev. If I create a Vue app with several views. Each of those views has quite a lot of images. When the website is loaded from the server to the client machine, will it be downloading all those images in one go since its a SPA? or it'll only download the images when the specific view is loaded and keep the images cached? I'm asking as im building a few tutorial guides at the moment which have a lot of images in each page. its purely a static site at the moment using Vue and AWS. No database calls being made. Cheers for any tips guys :)
@hikari1690
@hikari1690 Год назад
It'll only download the image for the specific views iirc. But you can check by using the dev tool and checking the network to see if this is really the case
@martinfinch5011
@martinfinch5011 Год назад
@@hikari1690 hey Faiz. thanks for the reply. yeah i had a check last night and can confirm it was only downloading the images for the view i was on. so i can make a bunch of static pages no problem. its not the best long term approach but will do for now :)
@sergiopena4326
@sergiopena4326 Год назад
I migrate a big project from webpack to vite, and now is working too slow, is so sad
@TenshiProductionz
@TenshiProductionz Год назад
I just tried out vite today and I found that it's just sooo much more work. I believe I have missed something. I use Vue 3 + Vue Router + Vuetify + PWA, for Vue CLI I just create the app and vue add vuetify, that's it. But when I used create-vue/etc, I need to manually add vuetify, PWA, vue router and set configuration, and somehow the ts-server does not recognize the `@/path` path. Just so much problem.
@ProgramWithErik
@ProgramWithErik Год назад
Have you tried the Vuetify CLI?
@TenshiProductionz
@TenshiProductionz Год назад
@@ProgramWithErik Yea, but then, I will need to add others manually(PWA, Router, such.), there's just no one options that's like Vue CLI that allows me to add everything I need easily.
@Its-N
@Its-N Год назад
Please make tutorial on how using rxjs on nuxt 3 app
@martinfinch5011
@martinfinch5011 Год назад
Interesting. I created a vue3 app the other day using 'Vue create' in the cli 😣
@ProgramWithErik
@ProgramWithErik Год назад
It's ok, but there are better alternatives!
@businessoftechnology
@businessoftechnology Год назад
Vue CLI was great... but it didn't keep up with the Vite pivot.
@ProgramWithErik
@ProgramWithErik Год назад
True
@mrrolandlawrence
@mrrolandlawrence Год назад
been using vite + pnpm for a while now. the directory structure is far easier to manage with pnpm.
@ProgramWithErik
@ProgramWithErik Год назад
pnpm is great!
@nade3282
@nade3282 Год назад
me too😎
@Flash136
@Flash136 Год назад
TIL MDN has guides on Vue
@ProgramWithErik
@ProgramWithErik Год назад
Yeah I thought that was interesting too
@mosessmax
@mosessmax Год назад
create vue! ✌🏾
@guillermomazzari4983
@guillermomazzari4983 Год назад
i prefer quasar but, CREATE VUE, is awsome as well
@tomasmali6267
@tomasmali6267 Год назад
Quasar is the best, you get all the components you ever need
@millennialsdev
@millennialsdev Год назад
Today I think tthat you should work With vue 3, Vite and Pinia
@hikari1690
@hikari1690 Год назад
"Why would you use vue 2" Cause I cant find tutorials for some of the things in vue 3 duh
@c29wang
@c29wang Год назад
create vue
@mu16zi
@mu16zi Год назад
lets create vue apps with create-vue command 😉
@7orres
@7orres Год назад
I don’t know anyone who uses the vue cli anymore
@PhilGerb93
@PhilGerb93 Год назад
Really? Not a single person working on an older project? Literally 1 year old?
@7orres
@7orres Год назад
@@PhilGerb93 I meant anyone starting a new project 😅
@PhilGerb93
@PhilGerb93 Год назад
@@7orres Ahh now it makes more sense! Lol
@zazziumpum
@zazziumpum Год назад
create vue
@SkipThorp
@SkipThorp Год назад
create vue
@ProgramWithErik
@ProgramWithErik Год назад
Thanks !
Далее
Why I don't work for FAANG
8:26
Просмотров 793 тыс.
Это iPhone 16
00:52
Просмотров 209 тыс.
Every New Vue Developer Has Made These Mistakes...
18:04
The Nuxt big thing in web development?
4:55
Просмотров 654 тыс.
Vuetify 3 + Nuxt 3 : Vue.js Will Never Be The Same
13:02
The Difference Between Vue and React
10:27
Просмотров 33 тыс.
Это iPhone 16
00:52
Просмотров 209 тыс.