Build a PWA With Vue & Ionic 4

Build a PWA With Vue & Ionic 4

Traversy Media

5 лет назад

70,205 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@spythere
@spythere - 14.07.2022 21:42

I got some errors and after the research this is 2022 solution for Vue3 PWA:

- make sure it's capitalized "NetworkFirst", not "networkFirst" solution
- i haven't found any resources about "networkTimeoutSeconds" and "cacheableResponse" so I had to get rid of it.
- you can additionally put 'expiration' object with maxAgeSeconds and maxEntries properties

Hope it will help somebody.

Ответить
@aliguliyev2122
@aliguliyev2122 - 03.10.2021 11:25

Hello Brad, So you teach how to make a Vue App PWA Right? But What if i want to make a Vue.js app running on Vite make a PWA. I tried to do that but my app crashes:(

How can I make Vue.js app running on Vite PWA

Ответить
@douglaslindner517
@douglaslindner517 - 09.06.2021 18:10

I know this video was done quite a while ago, but I'm curious if anyone has any thoughts on using just Vue for PWAs, or is IONIC helpful in some way to make this a better combination? It isn't clear to me how I might benefit from IONIC in the PWA role. Always enjoy your videos!

Ответить
@divyavishwakarma2002
@divyavishwakarma2002 - 16.05.2021 16:01

I first saw your video where you taught how to do caching using just service workers. It had a lot of manual setups to be done. But after going through this video, Workbox API made a hell of a lot of things easier dude.
Thanks for your wonderful resources.

Ответить
@MdRuhulAminKhan
@MdRuhulAminKhan - 05.01.2021 21:17

Awesome :)

Ответить
@brojenuel
@brojenuel - 09.11.2020 03:37

can u make a tutorial? how to make this as an apk or bundle it and add it in google store or apple store? 😊😊😊😊😊😊

Ответить
@arinjoykundu1693
@arinjoykundu1693 - 19.10.2020 07:59

any idea as to why manifest.json is not being generated?

Ответить
@scottmcmahon7209
@scottmcmahon7209 - 16.10.2020 06:42

If I build a social media website in HTML CSS and vue3, will I be able to use this same code to make an app with ionic without having to make any changes?

Ответить
@shanonliew3960
@shanonliew3960 - 21.08.2020 05:05

I love your Vue tutorials! Thank you!

Ответить
@WeatbixZ
@WeatbixZ - 17.07.2020 05:50

This is just a front end UI framework to mimic mobile interfaces? Vue + ionic cant access native device functionality or be built as an apk right? You would need to use capacitor or something like phonegap to make that happen?

Ответить
@user-qy5dx1oh4s
@user-qy5dx1oh4s - 15.05.2020 09:04

Great tutorial!

Ответить
@marksahlgreen9584
@marksahlgreen9584 - 11.05.2020 13:47

So, I made this, and all in all it seems to work, but for some reason my app-cache is not being written to when I do requests, so I can't keep the data offline. URL seems to be just fine. I am also getting a TypeError, but dev tools aren't very specific where that could be. only happens in the deployed version, the one on my machine works without casting a typeerror

Ответить
@supalarry1009
@supalarry1009 - 02.05.2020 11:01

If you get warning "export ‘ICON_PATHS’ was not found in ‘ionicons/icons’' and npm install [email protected] --save-dev does not work, then:
1) open ./node_modules/@ionic/vue/dist/ionic-vue.esm.js
2) comment out lines addIcons(ICON_PATHS); AND import { addIcons } from 'ionicons';
It should work now.

Ответить
@quanlamtruong5870
@quanlamtruong5870 - 21.03.2020 06:18

how does everyone find this course guys?

Ответить
@dannanthonyastillero9138
@dannanthonyastillero9138 - 19.02.2020 19:40

vue add @vue/pwa does not generate manifest.json :(

Ответить
@jasonrbodie
@jasonrbodie - 10.01.2020 18:29

Everybody knows 90210

Ответить
@Gambriman
@Gambriman - 03.01.2020 23:42

Nice tutorial! Thank you very much for recording it and sharing. I was using Vue + Vuetify and looking for something more advanced to learn to provide app like experience with PWA. I didn't know where to start and you've inspired me! Also I didn't know Ionic is being rolled out to VueJS. This is really exciting!

Ответить
@KahlilAshanti
@KahlilAshanti - 21.12.2019 02:18

great work as always Brad. Hey Traversy fam - if you get this error (Mac, VSCode) 'node(51287,0x7fffab29a380) malloc: * mach_vm_map(size=9494189756595048448) failed (error code=3)
* error: can't allocate region
* set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
zsh: abort firebase deploy' then try running the following from your Terminal: npm install -g firebase-tools. Hope that helps - caused me a lot of frustration but hopefully others can avoid that issue.

Ответить
@ryanceasarborromeo1989
@ryanceasarborromeo1989 - 11.12.2019 09:45

Rather than doing this:
import ZipSearch from '../components/ZipSearch'


you can actually do this:
import ZipSearch from '@/components/ZipSearch'


As the @ sign is pointing always to the src folder.


Just a one cent tip;-)

Ответить
@DmitrySharabin
@DmitrySharabin - 23.09.2019 19:02

That was really useful! Thank you.

Ответить
@bobosmaksohh
@bobosmaksohh - 24.08.2019 12:27

to fix the "export ‘ICON_PATHS’ was not found in ‘ionicons/icons’


copy the dist folder from AppName\node_modules\@ionic\vue\dist (this folder has the files that are missing)


paste it into AppName\node_modules then rename it -> ionicons

Ответить
@GamesHousePt
@GamesHousePt - 11.08.2019 15:04

Is there a way to set the max time it can be cached in vue.config.js? Cuz I did this example and seems like the cache of the zip codes and the pre cache is permanent. This is bad because when you update the website in firebase and you access it , it always show the last version of the website unless you clean the cache or you use incognito mode

Ответить
@dancarrera1114
@dancarrera1114 - 02.08.2019 03:41

if you get the following warning "export ‘ICON_PATHS’ was not found in ‘ionicons/icons’' this fixed it for me: npm install [email protected] --save-dev

Ответить
@saurabhjindal8318
@saurabhjindal8318 - 29.07.2019 10:04

great stuff
Could please create a tutorial series for react pwa aswell

Ответить
@realtebo
@realtebo - 16.07.2019 23:18

E X C E L L E N T !!!


Can you realize a video on how to handle offline sync with firebase?

Ответить
@biansoralmerol4272
@biansoralmerol4272 - 11.07.2019 05:01

Hi Brad, can you make a tutorial Vue and ionic on how to authenticate

Ответить
@gurmandeepsingh2299
@gurmandeepsingh2299 - 09.07.2019 19:42

After Installation of @ionic/vue, I am getting issue:-

warning in ./node_modules/@ionic/vue/dist/ionic-vue.esm.js
"export 'ICON_PATHS' was not found in 'ionicons/icons'

Ответить
@snowfox6080
@snowfox6080 - 08.07.2019 22:10

idk why but it always thows console error when i use "Vue.use(Ionic);" :/

Ответить
@ninzembalsado5823
@ninzembalsado5823 - 02.07.2019 10:32

export "ICON PATHS" was not found in "ionicons/icons" - Please HELP :(

Ответить
@Treminator7
@Treminator7 - 30.06.2019 21:24

a tutorial for react and ionic would be great!

Ответить
@r6anthonyr679
@r6anthonyr679 - 30.06.2019 20:54

Error: export "ICON PATHS" was not found in "ionicons/icons"

Ответить
@morleytechtv7749
@morleytechtv7749 - 26.06.2019 15:46

one of the best channel I always want to watch thanks brad

Ответить
@rebelgusanos
@rebelgusanos - 13.06.2019 13:37

is it possible to do this into a WebAPK where you can add it to an android homescreen more naturally?

Ответить
@chawkichalladia1812
@chawkichalladia1812 - 13.06.2019 10:01

great video brad as usual. about the spaces in object you can use quotation marks like obj."... ..." i remember facing something like this. i thought i mention this so for once at least i can help out even if not exactly that helpful compared to your work. god bless and good job as usual.

Ответить
@rajatshah4802
@rajatshah4802 - 06.06.2019 08:16

Hi, you are always great in tutorials. I find them perfect to get a kick start. Can we get a pwa with react tutorial.

Ответить
@edgarhugocheverieraguilar4555
@edgarhugocheverieraguilar4555 - 06.06.2019 00:33

Awesome tutorial, thank you!

Ответить
@herbertk9266
@herbertk9266 - 05.06.2019 11:40

Thks Brad but also make pwa with react

Ответить
@jakubkoj1
@jakubkoj1 - 04.06.2019 21:56

How to use the Ionic router? Can't find anything on the docs.

Ответить
@razvacos7469
@razvacos7469 - 31.05.2019 20:06

how can be made ssr for this app ?

Ответить
@iamabhirupdatta
@iamabhirupdatta - 30.05.2019 05:27

Brad it would be great if you enable the Join Membership button on your channel.

Ответить
@chhinsras
@chhinsras - 30.05.2019 02:19

Flutter

Ответить