Skip to content

Commit 589e216

Browse files
authored
Merge pull request #282 from mgusmano/ext-angular-6.7.x
readme
2 parents b346cc4 + d995671 commit 589e216

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

packages/ext-angular-boilerplate/README.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,45 @@ ExtAngular
44
## Steps to create a new theme
55

66
In root of new app - Generate new theme
7-
```npx ext-react generate theme --name my-theme
7+
```
8+
npx ext-angular generate theme --name my-theme
89
```
910

1011
in webpack.config.js
1112
```javascript
12-
new ExtReactWebpackPlugin({
13-
theme: 'mt-theme'
13+
new ExtWebpackPlugin({
14+
framework: 'angular',
15+
toolkit: 'modern',
16+
theme: 'my-theme'
1417
})
1518
```
1619

17-
```npm start
18-
```
19-
2020
Go to newly created theme folder
21-
```cd ext-angular/packages/my-theme
21+
```
22+
cd ext-angular/packages/my-theme
2223
```
2324

2425
Create a theme file and add a variable
25-
```cd /sass/src
26+
```
27+
cd sass/src
2628
mkdir Ext
2729
cd Ext
2830
touch Component.scss
2931
```
30-
in Component.scss
32+
in Component.scss (save the file after editing)
3133
```
3234
$base-color: blue;
33-
```
35+
```
36+
37+
at the root of the app, start application in development mode
38+
39+
```
40+
npm start
41+
```
42+
43+
make a change in Component.scss (save the file after editing)
44+
```
45+
$base-color: red;
46+
```
47+
48+
app should now have red titlebar

0 commit comments

Comments
 (0)