Comments (7)
Cool, thanks for pointing that out! I'll get this fixed.
from react-book.
@jantimon Thanks! I simplified the section a lot (realized no template is needed in this case). Speaking of which is there a nice way to generate dev server index.html through html-webpack-plugin dynamically? It's not nice having to drag that in the project.
from react-book.
Hm actually I meant you might want to use inject:true
for custom templates but this also a simpler approach ;)
I don't understand however what you mean by dynamically generated dev files - the plugin adds it to the webpack assets. So it should be there on the dev server too. Is it missing?
from react-book.
Hm actually I meant you might want to use inject:true for custom templates ;)
Ah. Anyway, much simpler now. 👍
I don't understand however what you mean by dynamically generated dev files - the plugin adds it to the webpack assets. So it should be there on the dev server too. Is it missing?
If you look at my boilerplate, you can see there's dev-server/index.html
hanging around. That's something I want to eliminate. I have a feeling export-files-webpack-plugin might be needed here. Just playing around with this.
from react-book.
If you check out that plugin, you can see the core of the issue:
You might use some file-generating plugins on production (e.g. HTML Webpack Plugin), but it would be useless on development, as dev-server is not actually saving any files on the disk.
from react-book.
Should not be needed should work right away without your dev-server/index.html
just open the index.html in the same folder where your javascript is
from react-book.
@jantimon Can you hit me through gitter? Opened a chat there. We can probably resolve the issue faster that way. Likely just missing something simple here.
from react-book.
Related Issues (20)
- Implementing a Note Application - HOT 4
- Implementing a Note Application - HOT 3
- Implementing NoteStore and NoteActions -
- Error running boilerplate HOT 2
- Typo
- pictures missing HOT 1
- 'leanpub-start-delete' not working as expected @ Kindle versions HOT 1
- [Table of Contents] truncated in 2017-03-02 .mobi version HOT 5
- [Section 3.4 - Pushing Data to App] Need some basic 'props' information HOT 1
- [4.2 - app/components/Note.jsx] - Extra 'value:' text in screenshot HOT 1
- [4.3 - pap/components/Notes.jsx] -"onDelete... dummy callback" question HOT 1
- [I.6.4 - Connecting Editable with Notes] "Unknown props" error HOT 1
- [I 6.5 - Tracking Note editing State] - Error on click to finish editing HOT 4
- [I 6.6 - Implementing Edit] - parameter order & {true} HOT 4
- [Section I] - general question about usage on bind() HOT 1
- [I 7 - Styling the App] -- cannot get styling to work HOT 5
- String refs are considered obsolete
- Error: Cannot find module '../lib/utils/unsupported.js' HOT 2
- react-dnd unsupported version automatically installed by webpack HOT 3
- npm install error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-book.