-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do you have some example of implementation? #2
Comments
Hi @askz, Sorry for replying you so late. (I‘m on vacation) In my opinion, both ways (split frontend/server or not) have specific difficulties. The case you choose depends on the product environment. For my project livetv_mining, it deploys on AWS Free Tier server and free server performance is poor. So I had to use split case(and other subplan) to save CPU work time. So my suggestion is that: If you are a beginner about Flask, you can start from tutorial: flasky (py3 version). If you have use experience about Flask, you can learn how to split frontend/server immediately. The examples I refer to are vue-hackernews-2.0 webpack2.0, vuejs-templates webpack1.0 and webpack official document. Would it help you to smooth learning curve ? |
Thank you. I will definitely check the split solution ! Cheers! |
Simple put, I had a flask/vue project which should be deployed inner & outer net in the meantime. When you visit website in outer net, the best way to save net flow is using CDN for scripts resource. When you visit website in inner net, the visitor can not get resource stored outer network. At the same time, the developers need to deploy project easy and configurable. So I package the flask-vue and it can config project to use CDN or Local files. |
Hi again,
I'm stuck with the integration when I need to run flask and webpack etc.
Can't see were to start..
I saw in your livetv mining project that you got separate frontend/backend, is it easier?
The text was updated successfully, but these errors were encountered: