add copyright comment and update name

This commit is contained in:
王云涛 2022-06-07 15:19:10 +08:00
parent 755c790ff2
commit 150cd1c4d0
7 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "vuex_demo1", "name": "vuex_demo1_1",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {

View File

@ -11,7 +11,7 @@
<noscript> <noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript> </noscript>
<div id="app"></div> <div id="app1"></div>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
</body> </body>
</html> </html>

View File

@ -1,3 +1,4 @@
<!--moguyun-->
<template> <template>
<div> <div>
<my-add></my-add> <my-add></my-add>

View File

@ -1,3 +1,4 @@
<!--moguyun-->
<template> <template>
<div> <div>
<h3>当前最新的count值为{{$store.state.count}}</h3> <h3>当前最新的count值为{{$store.state.count}}</h3>

View File

@ -1,3 +1,4 @@
<!--moguyun-->
<template> <template>
<div> <div>
<h3>当前最新的count值为{{count}}</h3> <h3>当前最新的count值为{{count}}</h3>

View File

@ -1,3 +1,4 @@
//moguyun
import Vue from 'vue' import Vue from 'vue'
import App from './App.vue' import App from './App.vue'
import store from './store' import store from './store'
@ -7,4 +8,4 @@ Vue.config.productionTip = false
new Vue({ new Vue({
store, store,
render: h => h(App) render: h => h(App)
}).$mount('#app') }).$mount('#app1')

View File

@ -1,3 +1,4 @@
//moguyun
import Vue from 'vue' import Vue from 'vue'
import Vuex from 'vuex' import Vuex from 'vuex'