@ -19,8 +19,6 @@ module.exports = configure(function (/* ctx */) {
// --> boot files are part of "main.js"
// https://v2.quasar.dev/quasar-cli-vite/boot-files
boot: [
'axios',
'pocketbase'
],
@ -1,6 +1,6 @@
import { boot } from 'quasar/wrappers'
import PocketBase from 'pocketbase'
const pb = new PocketBase('http://127.0.0.1:8090')
const pb = new PocketBase(process.env.DEV ? 'http://127.0.0.1:8090' : 'https://stock.hfsplay.fr')
export default boot(({ app }) => {
pb.collection('_superusers').authWithPassword(
@ -1,7 +1,7 @@
// app global css in SCSS form
@font-face {
font-family: geist;
src: url(font/Geist-var.ttf) format('truetype');
src: url(./font/Geist-var.ttf) format('truetype');
}
// declare a class which applies it
@ -243,7 +243,7 @@ export default {
showQr: false,
item: {},
showHistory: false,
selectedHistory: null,
selectedHistory: null
},
computed: {