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
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+26-20Lines changed: 26 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -9,19 +9,28 @@
9
9
Our Angular library integrates with [Google's Material Design Components](https://material.io/components/), providing a faithful and accurate representation of Material Design as it is envisioned on the web platform by Google's Material Design team. Our goal is to equip Angular developers with modular, straightforward and production-ready Material Design components.
Check out our [Getting Started guide](https://github.com/trimox/angular-mdc-web/blob/master/docs/getting-started.md) to begin adopting Angular MDC in your project.
23
32
24
-
###Material Design Components
33
+
## Material Design Components
25
34
* WIP = work in progress
26
35
* TBI = to be implemented
27
36
@@ -30,13 +39,13 @@ Check out our [Getting Started guide](https://github.com/trimox/angular-mdc-web/
30
39
| button | Available |
31
40
| card | Available |
32
41
| checkbox | Available |
33
-
| dialog |TBI|
34
-
| drawer |TBI|
42
+
| dialog |WIP|
43
+
| drawer |WIP|
35
44
| elevation | Available |
36
45
| fab | Available |
37
46
| form-field | Available |
38
47
| grid-list | TBI |
39
-
| icon-toggle |TBI|
48
+
| icon-toggle |WIP|
40
49
| linear-progress | Available |
41
50
| list | TBI |
42
51
| menu | Available |
@@ -52,18 +61,15 @@ Check out our [Getting Started guide](https://github.com/trimox/angular-mdc-web/
52
61
| toolbar | Available |
53
62
| typography | Available |
54
63
55
-
## Running the demo app
56
-
57
-
Clone and install repo:
58
-
```
59
-
git clone https://github.com/trimox/angular-mdc-web.git && cd angular-mdc-web
60
-
npm i
61
-
```
62
-
63
-
Run the webpack development server (content served from `src/demo-app/`):
64
-
```
65
-
cd /path/to/angular-mdc-web
66
-
npm run start
67
-
open http://localhost:4000
68
-
```
64
+
## Developing Angular MDC
65
+
Want to develop your own components or change existing ones? Check out our [Developer guide](https://github.com/trimox/angular-mdc-web/blob/master/docs/developer.md).
69
66
67
+
## Browser Support
68
+
We officially support the last two versions of every major browser.
- Fast, modern development environment (incremental compilation, source maps, live reloading, etc.)
20
+
21
+
## <aname="setup"></a> Setup up your development environment
22
+
You'll need a recent version of nodejs.
23
+
```
24
+
npm i npm@latest -g
25
+
```
26
+
Once node is installed, simply clone our repo (or your fork of it) and install developer dependencies.
27
+
```
28
+
git clone https://github.com/trimox/angular-mdc-web.git # or a path to your fork
29
+
cd angular-mdc-web
30
+
npm i # Install developer dependencies
31
+
```
32
+
33
+
## <aname="dev-server"></a> Running the development server
34
+
Run a webpack-dev-server instance that should assist with initial development. (content served from `src/demo-app/`)
35
+
```
36
+
cd /path/to/angular-mdc-web
37
+
npm run start
38
+
```
39
+
Open your browser to http://localhost:4000
40
+
41
+
## <aname="lint"></a> Linting / Testing
42
+
```
43
+
npm run lint:ts # Lints typescript using tslint
44
+
npm run lint:css # Lints (S)CSS using stylelint
45
+
npm run lint # Runs both of the above commands in parallel
46
+
```
47
+
48
+
## <aname="build"></a> Building Angular MDC
49
+
```
50
+
npm run build # Builds Angular MDC inside of dist/
51
+
```
52
+
53
+
## <aname="code-style"></a> Code Style
54
+
Our entire coding style is enforced automatically through the use of linters. We also follow [Google's JavaScript Style Guide](https://google.github.io/styleguide/jsguide.html).
When submitting PRs, make sure you're following our commit message conventions; our commit-msg hook should automatically enforce this. We also use [commitizen](https://www.npmjs.com/package/commitizen), which you can use to auto-format commit messages for you.
60
+
61
+
When submitting PRs for large changes, be sure to include an adequate background in the description so that reviewers of the PR know what the changes entail at a high-level, the motivations for making these changes, and what they affect.
Add the `mdc-typography` directive to your body element to define basic properties for text, such as the Roboto typeface and antialiasing settings throughout your app.
0 commit comments