Skip to content

Commit

Permalink
Changed the boilerplate content from the previous minimalistic react …
Browse files Browse the repository at this point in the history
…app tutorial to now refer to the new tutorial for building a multi-widget React app. This is being forked-off the branch 'webpack4--preact--package.json'.
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 1aa9911 commit 1a221ff
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules/
webpack_out/minimalistic_react.js
webpack_out/main.js
7 changes: 3 additions & 4 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
This branch contains example commits for building a minimalistic React front-end app step by step
with Webpack 4, as outlined in the tutorial at
http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/
This branch contains example commits for building a multi-widget React front-end app step by step,
as outlined in the tutorial at http://maratbn.com/blogs/2018/07/02/react-multi-widget/

This branch uses 'package.json' and swaps Preact for React.
This branch is being forked-off the branch 'webpack4--preact--package.json'.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "This branch contains example commits for building a minimalistic React front-end app step by step with Webpack 4, as outlined in the tutorial at http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/",
"description": "This branch contains example commits for building a multi-widget React front-end app step by step as outlined in the tutorial at http://maratbn.com/blogs/2018/07/02/react-multi-widget/",
"dependencies": {
"preact": "^8.2.9",
"preact-compat": "^3.18.0",
Expand All @@ -20,5 +20,5 @@
},
"author": "maratbn",
"license": "Unlicense",
"homepage": "http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/"
"homepage": "http://maratbn.com/blogs/2018/07/02/react-multi-widget/"
}
10 changes: 5 additions & 5 deletions try_me.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html>
<head>
<meta charset="utf-8" />
<title>Step-by-Step Minimalistic React Web App Tutorial with Webpack 4 Test Page</title>
<title>Step-by-Step Multi-Widget React Web App Tutorial Test Page</title>
</head>
<body>
<p>
This is a test page for the step by step minimalistic React web app with Webpack 4 tutorial at
<a href='http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/'>
http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/
This is a test page for the step by step multi-widget React web app tutorial at
<a href='http://maratbn.com/blogs/2018/07/02/react-multi-widget/'>
http://maratbn.com/blogs/2018/07/02/react-multi-widget/
</a>
</p>
<div id='react-app'></div>
<script type='text/javascript' src='webpack_out/minimalistic_react.js'></script>
<script type='text/javascript' src='webpack_out/main.js'></script>
</body>
</html>
8 changes: 4 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file 'webpack.config.js' is part of an example for building a minimalistic React front-end
// app step by step with Webpack 4 as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/
// This file 'webpack.config.js' is part of an example for building a multi-widget React front-end
// app step by step as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/07/02/react-multi-widget/


const path = require('path');
Expand All @@ -27,7 +27,7 @@ module.exports = {
},
output: {
path: path.join(__dirname, 'webpack_out'),
filename: 'minimalistic_react.js'
filename: 'main.js'
},
mode: 'development'
};
6 changes: 3 additions & 3 deletions webpack_in/entry.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file 'entry.js' is part of an example for building a minimalistic React front-end app step
// by step with Webpack 4 as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/
// This file 'entry.jsx' is part of an example for building a multi-widget React front-end app
// step by step as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/07/02/react-multi-widget/


console.log("JavaScript entry logic.");
6 changes: 3 additions & 3 deletions webpack_in/entry.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file 'entry.jsx' is part of an example for building a minimalistic React front-end app
// step by step with Webpack 4 as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/06/25/minimalistic-react-webapp-webpack-4/
// This file 'entry.jsx' is part of an example for building a multi-widget React front-end app
// step by step as outlined in the tutorial blog at
// http://maratbn.com/blogs/2018/07/02/react-multi-widget/


console.log("JSX entry logic.");
Expand Down

0 comments on commit 1a221ff

Please sign in to comment.