Skip to main content

Alpine.js for Django

Project description

Alpine.js for Django

Alpine.js packaged in a Django reusable app.

This package includes the original JS files from the library.

Installation

pip install django-js-lib-alpinejs

Usage

  1. Add "js_lib_alpinejs" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        "js_lib_alpinejs",
        ...
    ]
    
  2. In your template use:

    {% load static %}
    

    ...

    <script src="{%static "js_lib_alpinejs/alpinejs.js" %}"></script>
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_js_lib_alpinejs-3.14.7.1.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_js_lib_alpinejs-3.14.7.1-py2.py3-none-any.whl (43.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_js_lib_alpinejs-3.14.7.1.tar.gz.

File metadata

File hashes

Hashes for django_js_lib_alpinejs-3.14.7.1.tar.gz
Algorithm Hash digest
SHA256 b8cfdc020b323401382fbdcf30f678b4cecbc41568c88848a387ec158d95ddad
MD5 00ddf02b5a9cc5ddde63a35a973eecc9
BLAKE2b-256 8c4091276695bed509d6465b0e9929ac3127f6cb7539479f30be6d9d302e1e2c

See more details on using hashes here.

File details

Details for the file django_js_lib_alpinejs-3.14.7.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_js_lib_alpinejs-3.14.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc1c379b1d5a039875ff11fc17bdaf15d37d5aa6a7987ec4f8cbd67cf01810ee
MD5 11d397321e3777763fadbb6084750e2b
BLAKE2b-256 3b3a3a6c9bb5485a092e4a2f51dfcc9454ae961829a43de66c7d87300e02fff0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page