Very Thanks,
Can not wait, Quasar 1.0
Best posts made by theara
-
RE: Quasar v0.17.19 & CLI v0.17.23 are out!
-
RE: How to use error-labels of q-field?
I use
Vee Validate
, it work fine<q-field :error="errors.has('name')" :error-label="errors.first('name')" > <q-input v-validate="rules.name" v-model="form.name" name="name" float-label="Name" /> </q-field> -------- // Data form: { name: '', }, rules: { name: { required: true, }, // Methods submitForm() { this.$validator.validate().then(result => { if (result) { // success }else{ // error }
-
Problem dynamic import component with `this.$q.dialog(...)`
I base on
Meteor + Quasar
.
I would like to usedynamic import comment on Dialog()
methods: { showDialog() { let DialogForm = () => import('../components/DialogForm.vue') this.$q .dialog({ component: DialogForm, .... }
Get error
[Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'show' of undefined"
Latest posts made by theara
-
How to show modal by vue router?
I base on
Meteor + Quasar
.
Could example, how to show modal by vue router?
But I don’t want to useparent and child router
.
(Dynamic modal router, could use it any where)thanks for your sharing!
-
Problem with Meteor JS
- It work fine on
"quasar": "^1.1.0"
(But don’t with"quasar": "^1.9.2"
)
(Import by demand)
// main.js import Vue from 'vue' import { Quasar, ..... } from 'quasar' Vue.use(Quasar, { components: {}, plugins: { }, directives: { }, })
- But work with this import
"quasar": "^1.9.2"
(import all on startup file)
import Quasar { .... , ..... } from 'quasar'
- It work fine on
-
RE: Problem dynamic import component with `this.$q.dialog(...)`
@metalsadman thanks for your reply.
I tried this, but still get this error. -
Problem dynamic import component with `this.$q.dialog(...)`
I base on
Meteor + Quasar
.
I would like to usedynamic import comment on Dialog()
methods: { showDialog() { let DialogForm = () => import('../components/DialogForm.vue') this.$q .dialog({ component: DialogForm, .... }
Get error
[Vue warn]: Error in mounted hook: "TypeError: Cannot read property 'show' of undefined"
-
Could you share `How to open Modal with Router`?
Hi all, I base on
Meteor + Vue Quasar
.
I would like to openModal with Vue Router
.
Could you share me? -
Excuse me, Could I config printer setting in js?
Hi all, I base on
Meteor + Quasar
.
I tried to createRestaurant System
.
Now I would like toConfig Printer Setting
on JS.
How to do?My problem is:
- I have 2 printer connect My PC: One on reception and one in the cook
- I create 2 button
Print to Reception
,Print to Cook
- I would like to silence mode printing with specific printer name
Thanks for your helping
-
RE: [v1] problem with `prepend/append` icon on input field
This is my
main.js
inMeteor JS
import { Meteor } from 'meteor/meteor' import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) import Vuex from 'vuex' Vue.use(Vuex) // App layout import AppLayout from '/src/layouts/App.vue' // Quasar globally import '@quasar/extras/material-icons/material-icons.css' import 'quasar/dist/quasar.min.css' import Quasar from 'quasar/dist/quasar.esm.js' // import Quasar from 'quasar/dist/quasar.umd.min.js' import langEn from 'quasar/lang/en-us' Vue.use(Quasar, { lang: langEn, }) // Router import routes from '/src/routes' const router = new VueRouter({ mode: 'history', routes, }) // Store import createStore from '/src/store' const store = new Vuex.Store(createStore) //App start Meteor.startup(() => { new Vue({ router, store, render: h => h(AppLayout), }).$mount('app') })
-
RE: [v1] problem with `prepend/append` icon on input field
Now I tried install
npm install vue-template-compiler --save
.
It work fine (I don’t understand???) -
RE: [v1] problem with `prepend/append` icon on input field
Still don’t work (Copy your code)
<div class="q-pa-md" style="max-width: 300px"> <q-input bottom-slots v-model="text" label="Label" > <template v-slot:prepend> <q-icon name="place"></q-icon> </template> <template v-slot:append> <q-icon name="close" @click="text = ''" class="cursor-pointer" ></q-icon> </template> <template v-slot:hint>Field hint</template> </q-input> </div>