Mobile version of kodilan.com built with erste.js
Clone and setup the repository:
git clone git@github.com:tinas/koders.git
cd koders
npm i
koders comes with a webpack dev server.
Run:
npm start
to start the development server on http://localhost:9000
. It also supports live-reload when source files change under src
directory.
Run:
npm run build
This will put a static build under the www
directory.
Make sure you have cordova installed globally:
npm i -g cordova
Then for iOS, run:
cordova platform add ios
cordova run ios
Provided that you have XCode installed properly, this will start the iOS simulator installed with your app. Cordova builds use production build configuration and copy and use the contents of the www
directory.
koders comes with a pre-configured ESLint.
Run:
npm run lint
to check for errors and run:
npm run lint-fix
to automatically fix stylistic errors.