Hands-on with Fusion
.
-
Run
npm install
-
Checkout the code present in
src/main/js/component/Component.js
-
Open
App.html
to see the fusion code running in browser
-
Update src/main/js/component/Component.js
- If needed add additional source code files in src/main/js/component folder
-
Run
npm run build
ornpm run build:dev
-
Refresh
App.html
-
Checkout unit tests written in src/__tests__/spec/ComponentSpec.js
-
Update unit tests as you update the source code
-
Run
npm run gaia:server
to start gaia server -
Gaia server can be used to run lint and unit tests