Questions tagged [react-boilerplate]

React Boilerplate - A highly scalable, offline-first foundation with the best developer experience and a focus on performance and best practices.

219 questions
0
votes
2 answers

setup.js is deleted in react-boilerplate when running npm run setup

I have a very strange problem. I have cloned the react-boilerplate repository from here: https://github.com/mxstbr/react-boilerplate I add the following dependencies: "body-parser": "^1.15.0", "cors": "^2.7.1", "feathers-client":…
Nikola Schou
  • 2,386
  • 3
  • 23
  • 47
0
votes
0 answers

Should I nest containers using react-boilerplate

I would love to nest a container into another so that i don't end up with loads of code handled by a main page of the application. I feel all this logic should be distributed into lower level containers, but i can't find the best approach to do…
Noquepoaqui
  • 395
  • 3
  • 11
0
votes
1 answer

How can I use :global css classes - css modules

I'm using css modules for my reactjs project. Here is my file where I'm trying to use global css classes:
Hello World
Here is my styles.css :global{ .site-wrapper { …
0
votes
1 answer

Getting Started with React-Hot-Loader

I am trying to use React Hot Loader in React. I installed react hot loader by running "npm install --save-dev react-hot-loader". I tried to follow the http://gaearon.github.io/react-hot-loader/getstarted/ but couldn't understand. I am attaching my…
EdG
  • 2,243
  • 6
  • 48
  • 103
0
votes
1 answer

How to use local fonts in react-boilerplate?

Can anyone recommend a simple way to incorporate local fonts in to Max Stoiber's react-boilerplate ? I'm a webpack / css modules / PostCSS noob and am finding the set-up difficult. Any guidance with regard to structure would be greatly appreciated !
-1
votes
1 answer

cannot setup react-boilerplate on mac M1

when I clone the repository and run this command "npm run start", this error occurs npm ERR! code 1 npm ERR! path /Users/hf/Downloads/leadbook-test/node_modules/ngrok npm ERR! command failed npm ERR! command sh -c node ./postinstall.js npm ERR!…
-1
votes
1 answer

Require ('ffi') throws error in Electron application

I am working on an Electron.js application and need to use the node-ffi module to use a С++ dll library. I have installed the module and tried to add require('ffi') into my app\electron\main.dev.js, but got an…
Andrew M
  • 27
  • 5
-1
votes
1 answer

how can I connect a local/offline prepopulated DB on ReactBoilerPlate

I'm new to the world of react / react boilerplate. And I have the following problem that I can not solve. Show in the react the results of a local/offline pre-populated database using sqlite3. is it possible to do that? You can give me some example…
Fellipe Abreu
  • 29
  • 1
  • 8
-2
votes
1 answer

React render() method is not calling in runtime when i clicking a button in the electron app

i have a chrome extension and i made an electron app over it. i am using react js as a javascript frame work . i have like button and asset button which updates and render the component at runtime. its working in the chrome extension because of…
1 2 3
14
15