Skip to main content

Site Navigation

Your Account

Choose Language

Help
Editing Step 4 —

Step Type:

Drag to rearrange

Now we need to create our base files for our new plugin. The easiest way to do this it to clone an existing plugin. I recommend starting with /src/plugins/example folder in to a new one called /src/plugins/visualisation3d. [br][code]cp -r src/plugins/example src/plugins/visualisation3d[/code]

Inside the new folder, the convention is to name your javascript file that runs in the browser with the same name as your folder. So rename /src/plugins/visualisation3d/public/js/example.js to visualisation3d.js [br][code]mv src/plugins/visualisation3d/public/js/example.js src/plugins/visualisation3d/public/js/visualisation3d.js[/code]