Skip to content
Permalink
Browse files
refactor(example): tidy up directory structure
  • Loading branch information
ktsn committed Oct 9, 2018
1 parent 6ec2f5f commit 3d1634b2eea39bff8f333b22f55b0189b75f5c22
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<title>Vue Class Component Example</title>
</head>
<body>
<div id="app"></div>
@@ -19,9 +19,9 @@

<script lang="ts">
import Vue from 'vue'
import Component from '../lib/index'
import Hello from './Hello.vue'
import World from './World'
import Component from '../../lib/index'
import Hello from './components/Hello.vue'
import World from './components/World'
import { mapGetters, mapActions } from 'vuex'
// We declare the props separately
@@ -4,7 +4,7 @@

<script lang="ts">
import Vue from 'vue'
import Component from '../lib/index'
import Component from '../../../lib/index'
@Component
export default class Hello extends Vue {
@@ -1,5 +1,5 @@
import Vue, { CreateElement } from 'vue'
import Component from '../lib/index'
import Component from '../../../lib/index'

@Component
export default class World extends Vue {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -2,7 +2,8 @@ const VueLoaderPlugin = require('vue-loader/lib/plugin')

module.exports = {
mode: 'development',
entry: './example/example.ts',
context: __dirname,
entry: './src/main.ts',
output: {
path: __dirname,
filename: 'build.js'

0 comments on commit 3d1634b

Please sign in to comment.