Skip to content

klee-contrib/focus-starter-kit

Repository files navigation

Starter kit

This starter kit is here to help you to initialize a new project using focusjs and focusjs-components.

Don't forget to have all entry points on focus on getfocus.io

Your maybe asking how should I proceed ?

Don't worry, we are here to help:

image

Just follow these steps :

  • Initialize your project structure:
    • A app folder which will contain the focus application
    • THe config files for eslint, webpack and babel

image

  • Inside the ui folder, copy the content of this repository , you can do one of the following options:

    • git clone https://github.com/KleeGroup/focus-starter-kit.git and rm -rf .git to remove the git repositorty information
    • Click on the download button and copy the directory inside your ui directory
  • Install your node dependencies: npm install in the ui directory

  • Check the package.json to see all the scripts you can run

  • npm run start would be a good start

Please don't hesitate to report any bug you'll find on issues's page of each concerned project.

issue

If you want a working example, please refer to the demo: demo

All the webpack related informations are in web pack focus All the informations related to babel are on babel-preset-focus All the informations related to eslint are on eslint-config-focus

http://media.giphy.com/media/a3Ym0AUSAsHfi/giphy.gif