Wish Razvan health and recover soon. And also best wishes and thanks to the Quasar team for great effort. Everyone please take good care of yourself at this special period.

Best posts made by Samulwong
-
RE: Razvan is taking some time off
-
Dynamic left drawer to pages.
Hi guys.
I think the drawer of Q-layout is very convenient as a sub menu, or a collapse main menu.
Since I saw the drawer was defined in the layout.vue, how can I do if I have a share layout with share main menu on top header ( toolbar), while different pages have their own left drawer?
I tried to define and export various in the page.vue but it’s not work to {{}} it in layout.
Please help. Thank you.
Latest posts made by Samulwong
-
RE: Razvan is taking some time off
Wish Razvan health and recover soon. And also best wishes and thanks to the Quasar team for great effort. Everyone please take good care of yourself at this special period.
-
RE: advice: Weixin(Wechat) mini program support
@Hawkeye64 Uniapp is another hot hybrid framework with Vuejs to support 7 platforms in one programming, including Android, iOS, Wechat, H5, Alipay, Baidu(trash) and Toutiao( who became a top player in China) (TikTok outside China).
But sadly the doc is also in Chinese. I really hope I can start helping since now these hybrid solutions are not mature yet, so if we can imply Quasar solution to China developers before that Quasar will have more potential.
Please kindly share me the way to join the group or how to start. -
RE: advice: Weixin(Wechat) mini program support
@cst_zf mine work well. Stay low is the principle
-
RE: advice: Weixin(Wechat) mini program support
@Hawkeye64 The link czt share about mini app of wechat is English, I think it good to generally know about the mini app, make some basic evaluations. The one of mpvue is Chinese and I suggest you abort trying translating with google translate or similar .
The discord name raynong (without #****) I had verified before . Pls kindly try again or let me know how can I apply positive instead of being invited? -
RE: advice: Weixin(Wechat) mini program support
@Hawkeye64 My pleasure. My discord name is raynong #9611, please add me and discuss. Forgive me if I reply late since discord app was blocked in China, I have to use the VPN when I login there.
-
RE: advice: Weixin(Wechat) mini program support
@Hawkeye64 great exiting to see you reply the post. To developers in China, wechat mini app are not only interesting but now critical. Google play is not working in China, so android market is various while most of app markets for android in China filled with confusing app. Bad experience to find THE app before it’s famous enough. iOS is running but slow. And iOS users are far less then android in China.
With mini app in wechat, it’s conscious, easy to find and lite to install and full integrated with wechat payments, lbs, social , public services, or event the business office wechat service platform (or say office wechat account) api.
The mini app is VUE alike actually, I guess it’s more easier to migrate to it than android and iOS native.
Hope to see if you any comments. Bests regards. -
RE: Celebration day! v1.0 Stable has been released!
Congrats! I saw a comment said before today the 0.1.xx version is already well play as a final release. But I am very happy the quasar I love becomes 1.0!!
-
RE: advice: Weixin(Wechat) mini program support
I try to post the same topic, before that I search and found this post.
Can’t be agree more since the Wechat mini program in China and we know the wechat is exploring to more and more countries in the coming future, while an app integrated sms, payment, LBS and , the most important reason, it’s cross platform solution with most useful and enough APIs compare to native, which I think it maybe the one of most important direction of app development.
As supplement beside cst_zf, now the uni-app, mpvue are rapidly growth since 2019, and they are supporting more and more mini app like baidu, alibaba, QQ, which are key players in China.
I love Quasar , so I really hope it can catch up with this main stream in my country. -
RE: Problem with mapMutation, error with "It's not a function"
@metalsadman Thank you so much. I will try and read the docs more carefully. I didn’t understand the docs since it’s a little bit too simple (not mention about stores in sub-folder) and the vuex structure in quasar is a little bit different from plain vue.
-
Problem with mapMutation, error with "It's not a function"
Hello guys,
I generated a store with Cli named “shopping”, added state and mutation (with mutation-type)import { LocalStorage } from 'quasar'; import { INIT_BUYCART, ADD_CART, GET_USERINFO, RECORD_USERINFO, SHOW_CART, REDUCE_CART, EDIT_CART, } from './mutation-types'; export default { [INIT_BUYCART](state) { const initCart = LocalStorage.getItem('buyCart'); if (initCart) { state.cartList = JSON.parse(initCart); } },
So when I use them in Vue file with mapState and mapMutation, should I do it as follow?
compouted: { ...mapState([ 'shopping/cartList', 'shopping/login', 'shopping/receiveInCart', 'shopping/userInfo', ]),
methods: { ...mapMutations(['shopping/ADD_CART', 'shopping/INIT_BUYCART', 'shopping/SHOW_CART', 'shopping/REDUCE_CART', 'shopping/RECORD_USERINFO', 'EDIT_CART']), }
But when I call it in mounted, it show error “TypeError: this.INIT_BUYCART is not a function”
mounted() { if (this.login) { /* eslint no-underscore-dangle: 0 */ this._getCartList(); } else { // this.$store.commit('shopping/INIT_BUYCART'); this work. this.INIT_BUYCART(); //Report TypeError: this.INIT_BUYCART is not a function in console. } },
Can anyone help? Great thanks!