vue.js

    0熱度

    1回答

    Vue公司 - 砌體/磚石依賴沒有找到 我是很新,Vue公司和和的WebPack跑進一個問題,嘗試使用在我的項目中使用this template構建的同位素。從vueisotope安裝和導入的同位素成一個組件後,我得到了以下錯誤: This dependency was not found: * masonry/masonry in ./node_modules/isotope-layout/js

    0熱度

    2回答

    我想爲我的孩子路線定義一個beforeEnter後衛,但我沒有成功。這裏是我的路由配置: ... { path: '/', component: App beforeEnter: (to, from, next) -> # This block is only reached when I refresh the page child

    0熱度

    1回答

    我一直在試圖利用與Vue公司的的WebPack模板(https://github.com/vuejs-templates/webpack)PapaParse的工人選項 (http://papaparse.com/#worker),但我有一個問題: Uncaught ReferenceError: window is not #defined 所以我想,它要求文件與bundle文件分開,所以我使用了

    0熱度

    1回答

    所以我有一個使用Vue和Vue路由器的SPA。它的設置就像一個iOS應用程序,當你更深入點擊視圖時,導航欄中的標題會發生變化。現在我在routes.js文件中有這個硬編碼,但想要使其具有動態性。我可以更新我的視圖中的路由元,但是在視圖顯示之後呈現,所以我需要它在路由更改之前發生。下面是設置: route.js //A route { path: '/team/:username',

    1熱度

    1回答

    項目模擬服務:https://github.com/marioedgar/webpack-unit-test 我有我與VUE CLI產生Vue.js應用程序。我只是編輯的HelloWorld的成分有一些來從我的測試服務一些異步數據,你可以看到,在這裏: <template> <h1>{{ message }}</h1> </template> <script>

    1熱度

    4回答

    元素我有一個表,看起來像這樣: <table class="table"> <thead> <tr> <td><strong>Title</strong></td> <td><strong>Job</strong></td> <td></td> </tr> </thead> <tbody> <tr v-

    0熱度

    2回答

    我的Vue應用程序中的以下代碼返回的數據是一個名爲「Array」的字符串,當它應該返回一個對象時。代碼簡化簡潔起見: Component.vue import axios from 'axios'; axios.post(URL_HERE) .then(function(response) { // success console.log(response);

    0熱度

    3回答

    我VUE成分是這樣的: <template> ... <ul class="list-unstyled"> <li v-for="category in categories"> ... <input type="checkbox" :value="category.id" :checked="category.id in_ar

    0熱度

    2回答

    因此,我開始爲我的SPA使用用於Laravel的Tymon JWT包。它的一切都很好(添加用戶,登錄,獲得Auth用戶),但是當我提出API請求時,它只能工作一個小時。我知道我在登錄時存儲的令牌會過期,所以當我在60分鐘後向API發出請求時,它不起作用。我的問題是如何刷新令牌並將其恢復到本地存儲中?在新的請求?每59分鐘? AuthController.php public function au

    0熱度

    1回答

    我正在使用simple-webpack vuecli來實現我的網站。我有一個按鈕,它具有:在修改後產生具有背景路徑url的內容。如何在css中使用background-url上的require?看起來像內聯樣式不適用於:修改後的CSS。 全球SCSS .btn-green .btn-text:after{ content: ""; width: 7px; height