npm install - installing environment
npm start - launch project
npm run build - build production version
folder | app |
---|---|
my-reads.app/ | MyReads.app |
contacts.app/ | MyContacts.app |
readable.app/ | Readable.app |
//webpack.config.js
const
develop = '*.app' //name project-folder
production = 'dist'; // name production folder
-
api/ or local-storage/ - Calls to a backend API
-
components/ - Presentational (aka Dumb) components go here
-
scenes/ - These are the stateful ones, and the ones that make the API calls
-
theme.js - Project theme
-
helpers.js - Helper Functions and Constants if needed
-
favicon/ - Favicon (Logo)