Comment on page
Installation
- 1.
- 2.
- 3.The unzipped package contains a folder named
nectar
. - 4.Copy this folder and paste into the localhost directory
/htdocs
- 5.Your folder structure should look like
/htdocs/nectar/classic
- 6.
- 7.Cheers! Your project should be up and running.
Nectar requires a local web server installed on your machine. You can install XAMPP or any other web server.
For the project to work properly,
<base>
href must be set inside index.html
By default, the
<base>
href is set to /nectar/classic/www/
You will need to make sure that you set the
<base>
href inside index.html
properly.Suppose your project path is
/htdocs/myproject/
, then you must set <base href="/myproject/" />
inside index.html
In case of Cordova project the
<base>
will always be <base href="." />
If your base URL is not set properly, then you will get a white screen along with an error in console
app.init is not a function
Last modified 6mo ago