Skip to content

Commit 67d31f5

Browse files
committed
docs
1 parent 5ee3fa6 commit 67d31f5

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Maybe it could be helpful to someone else, or maybe someone will address me to a
2424

2525
The Problem
2626
----
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:
2828

2929
![simple-app][1]
3030

@@ -38,7 +38,27 @@ Which, if we break it down into its constituents, mainly results composed of fiv
3838
4. A container to display the currently selected detail's info.
3939
5. A sub-component, inside the previous one, to display additional data.
4040

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.
4262

4363
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:
4464

@@ -66,6 +86,7 @@ Requirements
6686
- **Vuex store, seamlessly shared between Angular and Vue**: bla, bla, bla...
6787

6888

89+
6990
[1]: screenshots/01-simple_app.png
7091
[2]: screenshots/02-app_components.png
7192
[3]: screenshots/03-ng_vue_components.png

0 commit comments

Comments
 (0)