@composi/router:
Install
No Install
If you've created a project using create-composi-app
, you do not have to install
@composi/router. It is already installed in the new project and ready to import into your code. Read
the documentation for
create-composi-app to
learn how to get up and running fast.
To use @composi/router, you'll need to import it into your project:
import { Router } from '@composi/router'
Once you've imported @composi/router into your project you are ready to start using it. Read the docs for Router and Usage.
If you want to use @composi/router with a library/framework other than @composi/core, you need to install it from NPM and then import it into your project:
npm i -D @composi/router