fix: error alias in typescript example

This commit is contained in:
Clark Du 2017-10-22 12:44:33 +08:00
parent 386096a21e
commit c0a6ed9ea3
3 changed files with 36 additions and 36 deletions

View File

@ -22,5 +22,5 @@ module.exports = {
build: {
vendor: ['axios', 'gsap', 'vuex-class', 'nuxt-class-component']
},
modules: ['~modules/typescript']
modules: ['~/modules/typescript']
}

View File

@ -16,7 +16,7 @@
<script lang="ts">
import Vue from "vue";
import Component from "nuxt-class-component"
import Card from "~components/Card"
import Card from "~/components/Card"
import { State, Getter } from "vuex-class"
@Component({

View File

@ -1,4 +1,4 @@
import axios from "~plugins/axios";
import axios from "~/plugins/axios";
export const state = () => ({
selected: 1,