An open API service indexing awesome lists of open source software.

https://github.com/forthespada/vuex


https://github.com/forthespada/vuex

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Vuex练手项目

参考黑马Vuex做的连两个练手项目(B站搜索关键字”黑马vuex“,2小时46分的那个就是)

# vuex_demo1

介绍了数据传递的几种方法以及如何通过vuex进行数据访问、异步函数的执行等

## Project setup

```
npm install
```

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production

```
npm run build
```

### Lints and fixes files

```
npm run lint
```

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).

# vuex_demo22

这个则是比较麻烦一点的Demo,主要是通过Vuex来进行全局数据的管理。

建议先看完第一个,对vuex有个大概了解后再来看这个项目。

## Project setup

```
npm install
```

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production

```
npm run build
```

### Lints and fixes files

```
npm run lint
```

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).