小编thr*_*Cat的帖子

vuetify.js.map:源地图错误:SyntaxError

我正在尝试使用 Homestead 通过 VueJS 研究 Laravel。我决定在我的研究中使用 Vuetify 而不是 Bootstrap,方法是通过npm.

这是我的 app.js:

import "material-design-icons-iconfont/dist/material-design-icons.css";
import "vuetify/dist/vuetify.min.css";
import Vue from "vue";
import Vuetify from "vuetify";
import App from "./components/App.vue";
import ExampleComponent from './components/ExampleComponent.vue';

import VueRouter from "vue-router";
import axios from "axios";
import VueAxios from "vue-axios";

Vue.use(Vuetify, VueRouter, axios, VueAxios);


const routes = [
    { path: "/", name: "Dashboard", component: ExampleComponent }
];

const router = new VueRouter({ mode: "history", routes: routes, linkExactActiveClass: "active" });
new Vue(Vue.util.extend({ router }, App)).$mount("#app");
Run Code Online (Sandbox Code Playgroud)

但在我的控制台日志中,我收到此错误: …

laravel vue.js vuetify.js

2
推荐指数
1
解决办法
2975
查看次数

标签 统计

laravel ×1

vue.js ×1

vuetify.js ×1