[英]Is it possible to use google recaptcha on client side without server side support? If possible how?
目前,我正在處理 Nuxtjs 2 項目,我必須在客戶端實現 Recaptcha,我不希望后端支持 Recaptcha。 我只想在前端處理它。 在有或沒有任何與 nuxtjs2 兼容的庫的情況下,我如何在前端執行此操作? ...
[英]Is it possible to use google recaptcha on client side without server side support? If possible how?
目前,我正在處理 Nuxtjs 2 項目,我必須在客戶端實現 Recaptcha,我不希望后端支持 Recaptcha。 我只想在前端處理它。 在有或沒有任何與 nuxtjs2 兼容的庫的情況下,我如何在前端執行此操作? ...
[英]getting error "this.renderChart is not a function" or "TypeError: Object(...) is not a function" Chart.js Nuxt v2
我想在^2.15.7版本的nuxt項目中使用 chart.js 。 問題是我在我的控制台中嘗試在 my.vue 頁面中使用此插件時出現這些錯誤。 錯誤: this.renderChart 不是 function 類型錯誤:對象(...)不是 function 這是我的代碼: nuxt.conf ...
[英]Nuxt generate failing with self is not defined in a vue dist file
我正准備從 Nuxt.js 2 項目部署我的第一個靜態應用程序。 雖然靜態路由生成得很好,但我的動態路由卻不是。 一旦我記得它們被隱藏在我的下拉菜單中 - duhh - 我創建了一個 /generate 頁面,該頁面使用 nuxt-link 組件呈現我的所有動態路由。 我的假設是爬蟲應該找到 ...
[英]NuxtJS Access installed vue plugin in nuxtjs inject method
我想安裝 VueToast package 作為插件,並使用 nuxt 插件添加全局幫助方法。 如下所示,我在 5-11 行之間安裝插件。 我需要在第 18 行訪問 $toast 道具。但是我無法訪問 $toast 道具。 如何在注入方法中訪問 $toast 道具? Nuxt 版本:2.15.8 ...
[英]Receiving CORS policy error on every API request nuxtJS
我正在嘗試運行 Laravel V8.14(后端)和 nuxtJS 2.15(前端)應用程序,但不幸的是每個 API 請求(包括 SSR 請求)都在使用WAMP1244B7602ZBCAL計算機上的 Z5A8FEFF0B4BDE3EEC7 錯誤運行npm run dev一切都被編譯並開始監聽 htt ...
[英]nuxtjs toggle individual items generated by v-for loop
我想創建一個簡單的手風琴式結構,但不知何故我無法切換單個元素: <div v-for="qa, j in group.questions_answers" :key="j"> <div class="question" @click="toggle()" > <!- ...
[英]Nuxt plugin cannot access Vue's 'this' instance in function blocks
所以我設法注入 hls.js 以使用 nuxtjs $root 元素和this 我這樣做是這樣的(hls.client.js): 和 nuxt.config.js 從字面上看,這很好用 :-) 但我無法在 hls 事件中引用“this”。 所以我在這些事件中不能使用 nuxtjs 't ...
[英]How do I programmatically bind in video player URLs in Nuxt/Vue?
我一直在尋找有關如何以編程方式綁定視頻播放器 url 的想法。 我理解使用 img 並執行v-for和:src的想法,但是我的視頻的 url 被放入腳本的數據中。 是否可以綁定並使這些程序化? 這是現在工作腳本的示例,但我只需要手動將其替換為每個視頻的組件。 <template> & ...
[英]How to configure production URL for Firebase callable function in nuxt app?
我有一個上傳到 Firebase 的nuxt應用程序(用作雲功能)。 我還有一個可調用的函數,我試圖從應用程序調用它。 問題是它試圖調用localhost url 而不是生產 url。 我在nuxt.config.js Firebase 設置如下所示: module.exports = { ...