@radpack/client
The client-side runtime package. This is automatically imported into applications built using @radpack/webpack-plugin and targeting the web. For server-side usage, use @radpack/server.
Installation
npm install @radpack/client
Usage
You can import the client directly if using your own build process:
import radpack from '@radpack/client';
Otherwise, import a minified browser bundled script that sets a global radpack
variable:
<script src="./node_modules/@radpack/client/lib/browser.js"></script>
<script src="https://unpkg.com/@radpack/client"></script>