Skip to content

Migration From Version 2 to Version 3

Ali Badakhshan edited this page Mar 8, 2020 · 7 revisions

Migration From Version 2 to Version 3

To migrate from Narik V 2 to version 3 :

  1. update all dependencies' version
  2. change Narik dependencies from narik- format to @narik/ format. (All Narik Packages Moved to @narik scope.)
  • In package.json file.
  • In all source files ( import ... from "")
  • In angular.json (styles)
  • In extra-webpack.config.js
  • In ts.config ('paths' section (if you have))
  1. add "aot":true to angular.json
  2. add @DynamicForm("") to GeneralListComponent and GeneralDetailComponent and all other dynamic forms.

You can see all the changes required in this changeset: https://github.com/NarikMe/narik-primeng-demo/commit/05bd327baa9bacb7ec4f0577a2b637e961c1590d