La URL se muestra como
localhost:3000/ índice# /panel
pero no
localhost:3000/ índice/# /panel
Está como cableado.
Aquí está mi código express.
app.get('/index', function (req, res) { const html = fs.readFileSync('index.html', 'utf-8'); res.send(html); });Y mi código de vue-router.
{ name: 'dashboard', path: '/dashboard', component: require('../views/dashboard.vue') }Intente configurar el mode: 'history' en su VueRouter
const router = new VueRouter({ mode: 'history', routes: [...] })Para obtener más información también con express, consulte Vue Router HTML5 history mdoe