Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5db11d4

Browse files
committed
✨ add vue-function-api, lint files
1 parent 84682a5 commit 5db11d4

File tree

5 files changed

+15
-79
lines changed

5 files changed

+15
-79
lines changed

‎gif-searcher/package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"dependencies": {
1111
"core-js": "^2.6.5",
12-
"vue": "^2.6.10"
12+
"vue": "^2.6.10",
13+
"vue-function-api": "^2.0.6"
1314
},
1415
"devDependencies": {
1516
"@vue/cli-plugin-babel": "^3.9.0",

‎gif-searcher/src/App.vue‎

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,11 @@
11
<template>
22
<div id="app">
3-
<img alt="Vue logo" src="./assets/logo.png">
4-
<HelloWorld msg="Welcome to Your Vue.js App"/>
3+
54
</div>
65
</template>
76

87
<script>
9-
import HelloWorld from './components/HelloWorld.vue';
10-
118
export default {
129
name: 'app',
13-
components: {
14-
HelloWorld,
15-
},
1610
};
17-
</script>
18-
19-
<style>
20-
#app {
21-
font-family: 'Avenir', Helvetica, Arial, sans-serif;
22-
-webkit-font-smoothing: antialiased;
23-
-moz-osx-font-smoothing: grayscale;
24-
text-align: center;
25-
color: #2c3e50;
26-
margin-top: 60px;
27-
}
28-
</style>
11+
</script>

‎gif-searcher/src/components/HelloWorld.vue‎

Lines changed: 0 additions & 58 deletions
This file was deleted.

‎gif-searcher/src/main.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import Vue from 'vue';
2+
import { plugin } from 'vue-function-api';
23
import App from './App.vue';
34

5+
Vue.use(plugin);
6+
47
Vue.config.productionTip = false;
58

69
new Vue({

‎gif-searcher/yarn.lock‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7753,7 +7753,7 @@ tryer@^1.0.1:
77537753
resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8"
77547754
integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==
77557755

7756-
tslib@^1.9.0:
7756+
tslib@^1.9.0, tslib@^1.9.3:
77577757
version "1.10.0"
77587758
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
77597759
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
@@ -8038,6 +8038,13 @@ vue-eslint-parser@^5.0.0:
80388038
esquery "^1.0.1"
80398039
lodash "^4.17.11"
80408040

8041+
vue-function-api@^2.0.6:
8042+
version "2.0.6"
8043+
resolved "https://registry.yarnpkg.com/vue-function-api/-/vue-function-api-2.0.6.tgz#d3fc7a02ce9599d0af3869fbc76a43d88aeace24"
8044+
integrity sha512-iOS/PYLFrpnX1PzmC30IZMmfB/+94D4BRGkoGHxquvuJjlHUAbuQ9GpVVExkWpdBrf1wv/YqN89pfbxhmnMa1Q==
8045+
dependencies:
8046+
tslib "^1.9.3"
8047+
80418048
vue-hot-reload-api@^2.3.0:
80428049
version "2.3.3"
80438050
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.3.tgz#2756f46cb3258054c5f4723de8ae7e87302a1ccf"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /