Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #14 from ming-tsai/develop
Browse files Browse the repository at this point in the history
chore: use my vue type component (#13)
  • Loading branch information
ming-tsai authored Jun 20, 2020
2 parents bd9968f + 02bdd55 commit 89cb75f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 28 deletions.
18 changes: 5 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dotnetexplorer",
"version": "0.1.1",
"version": "0.1.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand All @@ -21,7 +21,7 @@
"vue-class-component": "^7.2.3",
"vue-property-decorator": "^8.4.2",
"vue-router": "^3.2.0",
"vue-typer": "^1.2.0",
"vue-type-text": "^0.1.2",
"vuex": "^3.4.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Buefy from "buefy";
import "buefy/dist/buefy.css";

import Clipboard from "v-clipboard";

import VueTypeText from "vue-type-text";
// Icon components
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { library } from "@fortawesome/fontawesome-svg-core";
Expand All @@ -29,7 +29,7 @@ Vue.use(Buefy, {
});

Vue.use(Clipboard);

Vue.use(VueTypeText);
// Vue setting
Vue.config.productionTip = false;
new Vue({
Expand Down
4 changes: 0 additions & 4 deletions src/views/Home/Home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Component, Vue } from "vue-property-decorator";
import { namespace } from "vuex-class";
import { optionsFirst, optionsSecond, optionsThird } from "@/data/index";
import { Option } from "@/data/option";
const VueTyper = require("vue-typer").VueTyper;
const theme = namespace("Theme");
@Component({
data() {
Expand All @@ -11,9 +10,6 @@ const theme = namespace("Theme");
optionsSecond,
optionsThird
};
},
components: {
VueTyper
}
})
export default class Home extends Vue {
Expand Down
9 changes: 2 additions & 7 deletions src/views/Home/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@
class="has-text-weight-medium is-family-code column"
style="padding-left: 0px;"
>
<vue-typer
:text="selectedUsage"
:repeat="0"
:typeDelay="1"
></vue-typer>
<vue-type-text :text="selectedUsage" :timeTakes="3000" />
</div>
<div class="column is-1 is-vcentered">
<a
Expand All @@ -90,8 +86,7 @@
class="has-text-weight-medium is-family-code"
style="padding-left: 0px;"
>
<vue-typer :text="selectedNote" :repeat="0" :typeDelay="1">
</vue-typer>
<vue-type-text :text="selectedNote" :timeTakes="3000" />
</div>
</div>
</div>
Expand Down

0 comments on commit 89cb75f

Please sign in to comment.