-
Notifications
You must be signed in to change notification settings - Fork 6
Getting started
Good, you want to create your own plugin or widget. But where to start?!? Well, here is my little guide to help you on your way!
Basics
- You need basic html, css and javascript knowledge
- Know how javascript frameworks work (VueJS in particulair)
- A good idea for a plugin or widget
Now that ain't hard is it? So let's get going on and get that puppy running.
You need to fork this github repo, and make sure that you work in the develop
branch.
Before you can run anything locally, you have to make a change within your hosts
file (on mac os located in /etc/hosts).
Just add 127.0.0.1 homeydash.local
to it.
Now it's time to test if everything can run properly.
First make sure all the packages are installed, so from the root directory run npm install
.
After this is done you should be able to run npm run dev
and the development server will start and a new browser window will open after building is done.
So, when you got no issues in the above steps everything should run.
To summary all the steps:
- Fork the repo
- Switch to the develop branch
- Edit your HOSTS file
- run
npm install
- run
npm run dev
Now lets jump to the next step, what do you want to create a plugin or a widget?