Components: Is the demo app running anywhere?

Created on 13 May 2016  路  13Comments  路  Source: angular/components

I see there's a demo app in the repo, but is it up and running anywhere? I didn't see any links for it in the main README.

Most helpful comment

Actually you can run the demo app locally:

  1. Clone the material repo
  2. Go to the directory of the cloned repo and install it
    npm install
  3. Build the project
    npm run build
  4. Start the demo app
    npm run demo-app

I did all that on my mac and the demo app was running on localhost:4200

All 13 comments

The demo-app is primarily for our own development and not really meant as public-facing demos.

That said, we sporadically deploy it to https://material2-test.firebaseapp.com/ for testing.

I have a different demo app here: https://material2-app.firebaseapp.com/
(source https://github.com/jelbourn/material2-app)

And @kara has one here: https://puppy-love.firebaseapp.com/
(source https://github.com/kara/puppy-love)

OK, Thanks!

Is it an idea to add some working examples of people to the documentation?

For the most options and latest changes, this is the url I found the most helpful:

https://material2-dev.firebaseapp.com/

It would be nice if there was a link to these in the docs-

@chriszrc Yeah, they should include that link to their official documentation i supposed that is their working example demo.

Actually you can run the demo app locally:

  1. Clone the material repo
  2. Go to the directory of the cloned repo and install it
    npm install
  3. Build the project
    npm run build
  4. Start the demo app
    npm run demo-app

I did all that on my mac and the demo app was running on localhost:4200

@patrickqsos thanks mate. Playing with the demo src helped a lot

@sdspacecowboy You're welcome!
I think it'd be great if the instructions for running the demo app are included in the official documentation as it's very helpful. 馃榾

Is https://material2-dev.firebaseapp.com/ still the latest page for development? Looking at the demo repo https://github.com/angular/material2/tree/master/src/demo-app it doesn't match up.

@ewaschen you can look at @patrickqsos instruction to build demo from source.

The @patrickqsos solution doesn't work for me :(

Edit: on windows works!

Just

  1. download it from https://github.com/angular/material2/releases
  2. npm i
  3. npm run demo-app

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michaelb-01 picture michaelb-01  路  3Comments

vanor89 picture vanor89  路  3Comments

RoxKilly picture RoxKilly  路  3Comments

Hiblton picture Hiblton  路  3Comments

constantinlucian picture constantinlucian  路  3Comments