七、制作主题(六) Packaging and sharing themes

Orchard提供了打包功能你你能分享你的主题,该功能创建一个.nupkg格式的zip文件。

Viewing the Packaging Modules

首先要启用Packaging模块。

 

Packaging Your Theme

使用命令行工具打包:

package create MyFirstTheme C:\Temp

打包功能创建一个下面格式命名的文件:

Orchard.Theme.<nameOfYourTheme>.<version>.nupkg

 

Installing a Packaged Theme

在主题管理面板中安装主题:

 

 

posted @ 2012-03-23 17:11  commanderss  阅读(353)  评论(0编辑  收藏  举报