Skip to content

Latest commit

 

History

History
 
 

client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@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.

Documentation Logo

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:

<!-- Relative -->
<script src="./node_modules/@radpack/client/lib/browser.js"></script>
<!-- UNPKG -->
<script src="https://unpkg.com/@radpack/client"></script>