You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the wq framework installed with the option --without-npm. As per the guide How To: Implement Repeating Nested Forms, I used a Babel editor to convert the React code to ES6, created a new file custom.js inside app/js and called wq.use(custom) just before init.
But this does not seem to work. What am I doing wrong here?
I want to change the DefaultList component and create a new about page. How can I perform these tasks?
The text was updated successfully, but these errors were encountered:
thapaliya19
changed the title
Overwriting react components when installed with out npm
Overwriting react components when installed without npm
Nov 15, 2022
This looks correct so far. Most likely this is either a caching issue, or the default export from custom.js isn't in the expected format. Can you try console.log(custom) and see if it has the expected views property?
I am using the wq framework installed with the option
--without-npm
. As per the guide How To: Implement Repeating Nested Forms, I used a Babel editor to convert the React code to ES6, created a new filecustom.js
insideapp/js
and calledwq.use(custom)
just before init.But this does not seem to work. What am I doing wrong here?
I want to change the
DefaultList
component and create a new about page. How can I perform these tasks?The text was updated successfully, but these errors were encountered: