Skip to content

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

License

Notifications You must be signed in to change notification settings

dwqs/vue-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, 默认是 ''.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published