Hey guys,in this post,I am going to share with you on how to create a simple Hello World app for Google Chrome App or extension. Why Hello world? Why not a tutorial to build other app?
Ok, lets make things simple. First of all,based on my understanding, in order to create a Google chrome app/extension. It is just like build a html website and package it with manifest.json files.
In Google chrome app/extension. It's just need a file with
- a manifest.json file
- a .html file
- a .css file
- a. javascript file (can also include jQuery inside javascript)
Take note here,please don't include javaScript code's in HTML file. Chrome hate it! Make sure save it in separate file. So,if you good with building websites, i dont think that will be a problem. Its same.
So,lets start. All you need is ideas,a Chrome web browser and a text editor.
1. Create a folder to save all your files inside. Can put anywhere,make sure you remember it. Prefer to put it in Desktop(for windows). Like me,i create in Home folder in Ubuntu/Linux. So,name anything for your folder. Like me,i create a folder called "chrome app".