Giter Site home page Giter Site logo

form-plugins-starter's Introduction

NAC Plugin Starter Kit

The NAC Plugin Starter Kit is a template repository used to develop NAC Form Plugins using Lit. The kit contains:

  • a server to locally host your plugins
  • a javascript sample project
  • a typescript sample project

Get Started

Install dependencies:

ts\npm i 
js\npm i
localdev\npm i

Run either the typescript or the javascript server:

ts\npm start
js\npm start

The above are also available as a VS Code Task - Serve (JS) and Serve (TS).

Register the plugin in your NAC tenant using the url of the plugin file - https://127.0.0.1:8081/sample-card-js.js or https://127.0.0.1:8080/sample-card-ts.js

Updating and testing changes

Use the VS Code tasks to run the server of your preference as a background task.

For Javascript plugins, you can update the files and refersh the form in NAC.

For Typescript plugins, runing npm run build in the ts project folder will refresh the generated javascript files. ThiCosmes is also provided as the Default Build Task for VS Code - *Terminal > Run Build Task...

form-plugins-starter's People

Contributors

jpoul avatar svenb avatar jpoulntx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.