You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Maybe it could be helpful to someone else, or maybe someone will address me to a
24
24
25
25
The Problem
26
26
----
27
-
We've got a huge legacy app, five or six years worth of coding in Angular 1.x, whose layout here may be schematically represented as in this picture:
27
+
We've got a huge legacy app, five or six years worth of coding in Angular 1.x, whose layout may be schematically represented as in this picture:
28
28
29
29
![simple-app][1]
30
30
@@ -38,7 +38,27 @@ Which, if we break it down into its constituents, mainly results composed of fiv
38
38
4. A container to display the currently selected detail's info.
39
39
5. A sub-component, inside the previous one, to display additional data.
40
40
41
-
This is the state of our app in the tag **"Tag-01-angular-app"** of the associated repository.
41
+
At this point our applications is simply organized according to the following structure:
42
+
43
+
```
44
+
code
45
+
|_angularApp
46
+
| |_components
47
+
| | |_detail.js
48
+
| | |_innerDetail.js
49
+
| | |_search.js
50
+
| | |_searchResults.js
51
+
| |_services
52
+
| | |_searchServices.js
53
+
| |_angularApp.js
54
+
| |_style.css
55
+
|_vendor
56
+
| |_angular.min.js
57
+
|_index.html
58
+
```
59
+
60
+
No webpack, transpilation or other module bundling helpers.
61
+
See the codebase in the **"tag-01-angular-app"** tag of the associated repository.
42
62
43
63
Ideally you will migrate everything to Vue, but you cannot stop implementing new features while rejuvenating. No chances to unplug the app today to plug it in a year from now completely renewed (it could be dangerous or really time consuming). You have to maintain the legacy code, allowing the beasts to communicate, and migrate it progressively, step by step, with a little patience, as the poet would say:
44
64
@@ -66,6 +86,7 @@ Requirements
66
86
-**Vuex store, seamlessly shared between Angular and Vue**: bla, bla, bla...
0 commit comments