Socket
Socket
Sign inDemoInstall

express-velocity-front-end

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-velocity-front-end

模版基于java-velocity模板引擎


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

express-velocity-front-end

##基于express和grunt的前后端分离框架:+1::+1::+1:

模版基于java-velocity模板引擎

express为路由提供服务

项目中src为原代码文件夹,dist为输出文件夹

开发使用src,线上使用dist,并且支持一键cdn部署,加速你的项目

项目启动时,修改任何服务器代码,可以实现自动重启--基于nodemon

支持less,sass精灵小图片

基于grunt md5 打包合并

###怎么使用:

首先 clone 代码

然后启动命令行

再输入 npm i 等待包安装完毕

最后 grunt 启动服务器,浏览器输入localhost:3000,你就可以看到漂亮的页面了

打包命令 grunt build 会生成dist文件夹,里面可以看到js、css都加了md5缀

###如果大家喜欢的话,请点一下star并且follow一下本人,这是对本人最大的支持

###我会继续完善这个项目的,并一直维护下去,如果有任何问题,欢迎在issues里面提出:wink:

###感谢大家支持!

###——Nobody:point_up::point_up::point_up:

FAQs

Package last updated on 18 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc