Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aasailan/mpvue-ts-seed
mpvue的typescript模板工程
https://github.com/aasailan/mpvue-ts-seed
mpvue typescript
Last synced: about 6 hours ago
JSON representation
mpvue的typescript模板工程
- Host: GitHub
- URL: https://github.com/aasailan/mpvue-ts-seed
- Owner: aasailan
- Created: 2018-05-28T02:58:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-28T03:52:36.000Z (over 6 years ago)
- Last Synced: 2024-05-20T15:32:13.909Z (6 months ago)
- Topics: mpvue, typescript
- Language: JavaScript
- Size: 112 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mpvue Typescript demo
> 一个mpvue的typescript工程模板,基于[mpvue官方的ts工程项目](https://github.com/WingGao/mpvue-ts-demo)
# Technology stack
> mpvue + typescript + vuex + webpack3
## Build Setup
``` bash
# install dependencies
npm install# serve with hot reload at localhost:7100
npm run dev# build for production with minification
npm run build
```## description
1、官方的ts工程模板的build相关文件非常杂乱,而且webpack配置上有些问题,导致无法在ts文件中引用less文件。该模板工程修改了build相关文件,让webpack配置看起来更易懂。
2、官方的ts工程没有将store注入到vue,导致在vue组件中无法使用this.$store与vuex-class库。本工程模板修复了这个问题