Vue.js – How to remove hashbang #! from url?

In Vue 3, you’d want to use createWebHistory for the history option. import { createRouter, createWebHashHistory } from ‘vue-router’ const router = createRouter({ history: createWebHashHistory(), // … }) In Vue 2, you’d want to set mode to ‘history’. const router = new VueRouter({ mode: ‘history’, // … }) Make sure your server is configured to … Read more

Vue.js—Difference between v-model and v-bind

From here – Remember: <input v-model=”something”> is essentially the same as: <input v-bind:value=”something” v-on:input=”something = $event.target.value” > or (shorthand syntax): <input :value=”something” @input=”something = $event.target.value” > So v-model is a two-way binding for form inputs. It combines v-bind, which brings a js value into the markup and v-on:input to update the js value. The js … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)