@pnx-mixtape/global
v2.0.2
Published
global component
Downloads
160
Keywords
Readme
@mixtape/global
Documentation and examples: Global header and Global footer
Installation
npm install @mixtape/global --save
How to use
CSS
- PostCSS workflow:
@import '@mixtape/global';
- Native CSS:
@import url('dist/global.css');
- Link tag:
<link href="dist/global.css" rel="stylesheet" type="text/css">
Vanilla JS
- ES6 import:
import Global from '@pnx-mixtape/global';
- Script tag:
<script src="dist/global.js" type="text/javascript"></script>
HTML
See various twig files.