-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Malik Whitten edited this page Sep 26, 2023
·
4 revisions
Welcome to the Vader.js Wiki, your go-to resource for the Vader.js JavaScript library. Vader.js simplifies web development with reusable components, state management, authentication, signals, data stores, and HTML templating.
- Install VaderJS:
npm install vaderjs
or
<script type="module" src="https://cdn.jsdelivr.net/npm/vaderjs@latest/index.js" ></script>
<script type="module" src="https://unpkg.com/vaderjs@latest/index.js">
- Import components and utilities into your project.
- Heres an example import map
<script type="importmap">
{
"imports":{
"vaderjs":"./dist/vader/index.js",
}
}
</script>
- Then you can import like this
import { Vader, VaderRouter } from 'vaderjs'
-
Use VaderJS features for routing, state management, auth, and more.
-
Create dynamic SPAs with enhanced user experiences.
-
Type checking / testing
- Vader has jsdoc annotations built in but also allows ts using the tsconfig
npm run test // validate your code
Explore Vader.js features, including:
- Reusable Components
- State Management
- Authentication
- Signals
- Data Stores
- HTML Templating
Create modular UI components for your web application.