I have a strong example, for now there is no complete work example without angular, I just got the browser in my index.html .bundle. I want to include JS, then sync data from server to / from. Actually, I am trying to change Pouchbab in my program because the success of the Sophadab Open Source community does not seem to be successful.
I can not follow this document properly:
- Make browser-app.js with content
- Before the content of the browser-app . Copy the JS
- Install NPM Loopback Loopback-Boot
- Browser Browser-app.js -o app.bundle.js Then I found the error: Error: '/ users / simba Models can not find 'loopback-boot # instructions' from / projects / traveler-app / client / node_modules / lupback-boot <
There are a few steps to this but its very simple.
- Remove
server / boot / root.js
. -
Repeat the two lines in
server / server.js
, should look like this:... // - Mount constant Files - // All static middleware must be registered at the end, as all requests // are passed are killing the IC middleware file system / example: var path = requires ('path'); // This line is no longer an app. Use (loopback static (path.resolve (__dirname, '../client'))); // This row is now uncompressed ...
-
Create
index.html
in theCustomer
dial (I.e..Customer / Index
).
You should get a basic set up with the basic foundation working. Let me know that you have more problems.
Comments
Post a Comment