mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: error alias in typescript example
This commit is contained in:
parent
386096a21e
commit
c0a6ed9ea3
@ -22,5 +22,5 @@ module.exports = {
|
||||
build: {
|
||||
vendor: ['axios', 'gsap', 'vuex-class', 'nuxt-class-component']
|
||||
},
|
||||
modules: ['~modules/typescript']
|
||||
modules: ['~/modules/typescript']
|
||||
}
|
||||
|
@ -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({
|
||||
|
@ -1,4 +1,4 @@
|
||||
import axios from "~plugins/axios";
|
||||
import axios from "~/plugins/axios";
|
||||
|
||||
export const state = () => ({
|
||||
selected: 1,
|
||||
|
Loading…
Reference in New Issue
Block a user