Skip to content

An extension that automates the integration of jquery into a lunet project

Notifications You must be signed in to change notification settings

lunet-io/lunet-extends-jquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

jquery for lunet

This extension allows to easily integrate jquery in a lunet project.

Usage

In the config.sban of your site, add the following command:

extend "jquery"

Configuration

By default, this extension will try to download the latest version of the npm/jquery package and install it to the private .lunet directory.

It will be added to the default bundle.

The following variable can override the jquery module loaded. They have to be setup before using extend "jquery":

  • default_bundle: name of the default bundle to add jquery
  • jquery_provider: name of the jquery provider (by default npm)
  • jquery_version: jquery version to use (default is latest)
  • jquery_public: true if jquery resource must be installed to the public directory _meta/resources/npm/jquery (default is false)
  • jquery_pre_release: true if it allows to use a pre-release version (default is false)

About

An extension that automates the integration of jquery into a lunet project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published