Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-with-relative-path

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-with-relative-path

A helper for defining relative paths to routes.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ember-cli-with-relative-path

A helper for defining relative paths to routes. Usage:

{{#link-to (with-relative-path 'child-route') ...}}

This will generate an absolute route path, prepending the current route path to the provided value.

By default, the helper will replace a trailing index in the current route path with the provided value. If this behaviour is not desired, turn it off as such:

{{#link-to (with-relative-path 'child-route' replaceIndex=false) ...}}

Installation

ember install ember-cli-with-relative-path

Development

  • git clone https://github.com/tstormk/ember-cli-with-relative-path.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/.

Keywords

FAQs

Package last updated on 03 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc