@pnx-mixtape/navigation
v3.3.2
Published
navigation component
Downloads
273
Keywords
Readme
@mixtape/navigation
Documentation and examples: Accordion
Installation
npm install @mixtape/navigation --save
How to use
CSS
- PostCSS workflow:
@import '@mixtape/navigation';
- Native CSS:
@import url('dist/navigation.css');
- Link tag:
<link href="dist/navigation.css" rel="stylesheet" type="text/css">
Vanilla JS
- ES6 import:
import { Navigation, NavigationFlyout } from '@pnx-mixtape/mavigation';
- ES6 submodule import:
import NavigationFlyout from '@pnx-mixtape/mavigation/navigation-flyout';
- Script tag:
<script src="dist/navigation.js" type="text/javascript"></script>
HTML
See various twig files.