🗻
Norska
  • 🗻Welcome !
  • 🛣️Roadmap
  • 🔥Getting Started
    • Installation
    • Introduction
    • Quick Start
  • 🧊Core
    • Canvas
    • Objects
    • Properties
    • Attach
    • Three
    • Primitive
  • ✨Magic properties
    • $i
    • $three
    • $frame
    • $3
    • $math
    • $irefs
    • $load
      • $loaders
  • 🏗️Features
    • Reactivity
    • Conditional rendering
    • Loop
    • Events
  • ⚙️Advanced
    • Configuration
    • Extending Norska
    • Known issues
Powered by GitBook
On this page
  1. Getting Started

Installation

Learn how to install Norska with Alpine

As a module

Run the following command to install Norska.

npm install @norska/core alpinejs three

Import Norska and initialize it as an Alpine plugin.

Please note that Norska must be registered as a plugin before Alpine is initialized

import Alpine from 'alpinejs';
import norska from '@norska/core';

// Initialize Norksa
const Norska = norska({/* options... */});

// Register Norska as an Alpine plugin
Alpine.plugin(Norska)
window.Alpine = Alpine
Alpine.start()
PreviousRoadmapNextIntroduction

Last updated 1 year ago

🔥