ember-cli-route-exists

A helper for checking whether a route at a specific path exists. Usage:

Usage no npm install needed!

<script type="module">
  import emberCliRouteExists from 'https://cdn.skypack.dev/ember-cli-route-exists';
</script>

README

ember-cli-route-exists

A helper for checking whether a route at a specific path exists. Usage:

{{#if (route-exists 'my.route.path')}}

Installation

ember install ember-cli-route-exists

Development

  • git clone https://github.com/tstormk/ember-cli-route-exists.git
  • npm install
  • ember server
  • Visit the dummy app at http://localhost:4200.

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.