Dwqs Vue Typescript Save

A template with webpack 4 + vuejs 2 + typescript 2 setup for projects startup

Project README

vue-typescript

A template with webpack 4 + vuejs 2 + typescript 2 setup for projects startup.

Install/安装

Install it by chare or vue-cli/可以通过 chare 或者 vue-cli 来安装:

chare init dwqs/vue-typescript your-project-name -o remote-url-of-your-project

Above command will init your project with this template, and associate it with the remote url.(vue-cli doesn't provide this feature current)./上述命令会初始你的项目, 并将你的项目关联到远程的 remote-url. vue-cli 目前不能在初始化项目时关联远程仓库.

字段说明

如果通过 chare 或者 vue-cli 来安装, 在安装的过程中,会需要输入一些基本信息,可以查看 meta.js 来了解. 咨询的信息都有默认值, 一般选择默认就行, 模板生成之后也可以再更改.

一些字段说明如下:

  • port: 客户端的端口号, 默认是 3000
  • state: 状态管理工具选择,目前支持 mobx 和 vuex
  • prefix: Ajax 请求的前缀, 如 http://test.com, 默认是 ''.
Open Source Agenda is not affiliated with "Dwqs Vue Typescript" Project. README Source: dwqs/vue-typescript
Stars
27
Open Issues
1
Last Commit
5 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating