This minimal boilerplate worl with Babel and Webpack to implement a OOP workflow
Everything is set up. run:
npm run build
in the console at the root of the project.
Change the package.json, with your project's name.
Follow the index.js and Component.js templates for creating OOP files in the src folder.
You need to have Node and NPM installed.
node: https://nodejs.org/en/
then, install webpack and webpack-cli globally:
npm install webpack webpack-cli -g
Then, install Babel-cli and Babel-preset-env:
npm install babel-cli babel-preset-env -g
live server and deployment from the dist folder
This project is licensed under the MIT License - see the LICENSE.md file for details
- Thanks to Ahsan Ayas.
- See his article: https://medium.com/@ahsan.ayaz/beginners-guide-to-webpack-how-to-start-a-basic-application-with-webpack-2-ebed3172fa8c