Skip to content

jnotnull/dva-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##基于react的dva代码生成器

一键生成model、route、less、proxy文件。同时内置perfect-fetch,你只要像如下代码调用就可以了:

return sendrequest(`${nodeserver}/xx/xx/xx`, {
	id: 1,
	name: "jnotnull"
})

perfect-fetch请参见https://github.com/jnotnull/perfect-fetch

##安装

npm install dva-generator -g

##执行

generate-dva bot

About

dva code generator, including perfect-fetch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published