Test npm library (for learning purposes only)
npm i shadowizardasta --save
Example of usage:
- Create index.html
import { shadowizardasta } from 'shadowizardasta';
shadowizardasta({
shadow_type: 'soft',
padding: true
});
- Use the lib in main.js:
import { shadowizardasta } from 'shadowizardasta';
shadowizardasta({
shadow_type: 'soft',
padding: true
});
- To run local server, install parcel:
npm i parcel -g
- To bring up the server use the command:
parcel index.html