Skip to content
This repository has been archived by the owner on Oct 25, 2020. It is now read-only.

reactjs-id/react-webpack-simple-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Webpack Simple Starter

Pada saat pertama kali membuat aplikasi dengan ReactJS, kita perlu starter yang cukup sederhana untuk memulai. Repo ini akan mempermudah kita untuk mulai membuat aplikasi ReactJS.

Starter ini sangat sederhana dan hanya mencakup library berikut :

  • ReactJS
  • Babel Loader
    • Babel preset react
    • Babel preset ES2015
  • Webpack
  • CSS Loader

Penggunaan

Clone repository ini. lalu jalankan

npm install

Setelah itu silakan mulai modifikasi file src/index.js.

Untuk memulai aplikasi dengan mode development (webpack-dev-server) jalankan perintah berikut

npm run dev

lalu buka http://localhost:8080/

Untuk build aplikasi yang menghasilkan static file jalankan perintah berikut

npm run build

Untuk deploy production jalankan perintah berikut

npm run deploy

Lisensi

MIT

Releases

No releases published

Packages

No packages published