Reputation: 9
As we upgrade database from Liferay 6.0.5 to 7.It time to upgrade themes from Liferay 6.0.5 to 7 but, I didn't any answer when I did small search in google. What are the steps that I need to follow for upgrade? Any suggestions?
Upvotes: 0
Views: 199
Reputation: 6949
there's a task defined in liferay 7 theme generator for it [upgrade]
https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/upgrading-themes
Further there's a task for bootstrap 2 to bootstrap 3 migration.
https://www.npmjs.com/package/convert-bootstrap-2-to-3
you can check gulp code in any liferay 7 theme's node module's liferay-theme-tasks/lib/upgrade/6.2/upgrade.js
runSequence(
'upgrade:black-list',
'upgrade:replace-compass',
'upgrade:convert-bootstrap',
'upgrade:config',
'upgrade:rename-core-files',
'upgrade:create-css-diff',
'upgrade:dependencies',
'upgrade:create-deprecated-mixins',
'upgrade:ftl-templates',
'upgrade:vm-templates',
'upgrade:log-changes',
cb
);
this involves all the steps needed.
Upvotes: 1