cjs
Hunter 3 years ago
parent b17a2602aa
commit 1ab149c338

@ -11,7 +11,7 @@ export default {
}, },
methods: { methods: {
handleClick() { handleClick() {
this.$Message.success('Welcome to ViewUIPlus Demo!') this.$Message.info('Welcome to View UI Plus Demo!')
} }
} }
} }

@ -4,10 +4,6 @@ import Home from '@/views/Home.vue'
const routes = [ const routes = [
{ {
path: '/', path: '/',
redirect: '/home'
},
{
path: '/home',
name: 'home', name: 'home',
component: Home component: Home
} }

@ -58,7 +58,6 @@ const config = ({ mode }) => {
}, },
server: { server: {
open: true, open: true,
port: 8080,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:8080', target: 'http://localhost:8080',

Loading…
Cancel
Save