Remove store and default component.
This commit is contained in:
parent
b669db1406
commit
53ee0c34c1
4 changed files with 1 additions and 85 deletions
|
|
@ -9,8 +9,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"core-js": "^3.6.5",
|
"core-js": "^3.6.5",
|
||||||
"vue": "^2.6.11",
|
"vue": "^2.6.11"
|
||||||
"vuex": "^3.4.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vue/cli-plugin-babel": "~4.5.0",
|
"@vue/cli-plugin-babel": "~4.5.0",
|
||||||
|
|
|
||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
|
|
@ -1,7 +1,6 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
core-js: 3.6.5
|
core-js: 3.6.5
|
||||||
vue: 2.6.12
|
vue: 2.6.12
|
||||||
vuex: 3.5.1_vue@2.6.12
|
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@vue/cli-plugin-babel': 4.5.6_158dd777044bae538fee5b12e0b3d5c2
|
'@vue/cli-plugin-babel': 4.5.6_158dd777044bae538fee5b12e0b3d5c2
|
||||||
'@vue/cli-plugin-eslint': 4.5.6_667f482cc199ab3b44a87c7a57da4444
|
'@vue/cli-plugin-eslint': 4.5.6_667f482cc199ab3b44a87c7a57da4444
|
||||||
|
|
@ -8632,14 +8631,6 @@ packages:
|
||||||
dev: false
|
dev: false
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg==
|
integrity: sha512-uhmLFETqPPNyuLLbsKz6ioJ4q7AZHzD8ZVFNATNyICSZouqP2Sz0rotWQC8UNBF6VGSCs5abnKJoStA6JbCbfg==
|
||||||
/vuex/3.5.1_vue@2.6.12:
|
|
||||||
dependencies:
|
|
||||||
vue: 2.6.12
|
|
||||||
dev: false
|
|
||||||
peerDependencies:
|
|
||||||
vue: ^2.0.0
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-w7oJzmHQs0FM9LXodfskhw9wgKBiaB+totOdb8sNzbTB2KDCEEwEs29NzBZFh/lmEK1t5tDmM1vtsO7ubG1DFw==
|
|
||||||
/watchpack-chokidar2/2.0.0:
|
/watchpack-chokidar2/2.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
chokidar: 2.1.8
|
chokidar: 2.1.8
|
||||||
|
|
@ -9020,4 +9011,3 @@ specifiers:
|
||||||
stylus-loader: ^3.0.2
|
stylus-loader: ^3.0.2
|
||||||
vue: ^2.6.11
|
vue: ^2.6.11
|
||||||
vue-template-compiler: ^2.6.11
|
vue-template-compiler: ^2.6.11
|
||||||
vuex: ^3.4.0
|
|
||||||
|
|
|
||||||
|
|
@ -1,58 +0,0 @@
|
||||||
<template>
|
|
||||||
<div class="hello">
|
|
||||||
<h1>{{ msg }}</h1>
|
|
||||||
<p>
|
|
||||||
For a guide and recipes on how to configure / customize this project,<br>
|
|
||||||
check out the
|
|
||||||
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
|
|
||||||
</p>
|
|
||||||
<h3>Installed CLI Plugins</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
|
|
||||||
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-vuex" target="_blank" rel="noopener">vuex</a></li>
|
|
||||||
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
|
|
||||||
</ul>
|
|
||||||
<h3>Essential Links</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
|
|
||||||
<li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
|
|
||||||
<li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
|
|
||||||
<li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
|
|
||||||
<li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
|
|
||||||
</ul>
|
|
||||||
<h3>Ecosystem</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
|
|
||||||
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
|
|
||||||
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
|
|
||||||
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
|
|
||||||
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'HelloWorld',
|
|
||||||
props: {
|
|
||||||
msg: String
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
||||||
<style scoped lang="stylus">
|
|
||||||
h3
|
|
||||||
margin 40px 0 0
|
|
||||||
|
|
||||||
ul
|
|
||||||
list-style-type none
|
|
||||||
padding 0
|
|
||||||
|
|
||||||
li
|
|
||||||
display inline-block
|
|
||||||
margin 0 10px
|
|
||||||
|
|
||||||
a
|
|
||||||
color #42b983
|
|
||||||
</style>
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
import Vue from 'vue'
|
|
||||||
import Vuex from 'vuex'
|
|
||||||
|
|
||||||
Vue.use(Vuex)
|
|
||||||
|
|
||||||
export default new Vuex.Store({
|
|
||||||
state: {
|
|
||||||
},
|
|
||||||
mutations: {
|
|
||||||
},
|
|
||||||
actions: {
|
|
||||||
},
|
|
||||||
modules: {
|
|
||||||
}
|
|
||||||
})
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue