Herbert Vojčík 5f62adcadc grunt/requirejs load order black magic | vor 8 Jahren | |
---|---|---|
.. | ||
src | vor 9 Jahren | |
Gruntfile.js | vor 8 Jahren | |
README.md | vor 8 Jahren | |
config-browser.js | vor 8 Jahren | |
config-node.js | vor 8 Jahren | |
deploy.js | vor 9 Jahren | |
devel.js | vor 9 Jahren | |
gitignore-file | vor 10 Jahren | |
index.html | vor 8 Jahren | |
localamdjson-file | vor 10 Jahren | |
parts.html | vor 8 Jahren | |
testing.js | vor 9 Jahren | |
uninstall.html | vor 8 Jahren |
{%= description %}
Install Amber and create an Amber project, as shown in Amber Instructions.
If not already present, create a client project
in an empty directory with amber init
.
In a client project, run
bower install {%= name %} --save
grunt devel
amber serve
Go to http://localhost:4000/
in your browser and
in all packages that use {%= name %},
add '{%= namespace %}/{%= name %}'
to the package imports,
save the change and commit the package. Reload.
To bring project alive (for example after git clone
):
npm install
bower install
grunt devel
Developing the project (after brought alive):
Start server with amber serve
and go to http://localhost:4000/
in your browser and follow the instructions