Menu icon Foundation

My Posts


My Comments

Guhan commented on Andrés Pérez's post over 2 years

I have the same issue 
I tried the following 
require('style!css!foundation-sites/dist/css/foundation.min.css')
require('script!foundation-sites/dist/js/foundation.min.js')
require('script!foundation-sites/nodemodules/jquery/src/jquery.js')
 
$ webpack -w
Hash: d15b3e8155117f58c244
Version: webpack 1.15.0
Time: 4204ms
             Asset     Size  Chunks             Chunk Names
./public/bundle.js  3.15 MB       0  [emitted]  main
   [0] multi main 52 bytes {0} [built]
    + 238 hidden modules
 
But on the webpage , i encountered the folowing errors 
 
Uncaught ReferenceError: define is not defined
    at eval (eval at module.exports (eval at <anonymous> (bundle.js:62)), <anonymous>:1:1)
    at eval (<anonymous>)
    at module.exports (eval at <anonymous> (bundle.js:62), <anonymous>:9:8)
    at eval (eval at <anonymous> (bundle.js:1460), <anonymous>:1:23)
    at Object.<anonymous> (bundle.js:1460)
    at __webpack_require
_ (bundle.js:20)
    at Object.eval (eval at <anonymous> (bundle.js:86), <anonymous>:18:1)
    at eval (eval at <anonymous> (bundle.js:86), <anonymous>:33:30)
    at Object.<anonymous> (bundle.js:86)
    at webpack_require (bundle.js:20)
foundation.dropdown.min.js:1 Uncaught TypeError: Super expression must either be null or a function, not undefined
    at r (foundation.dropdown.min.js:1)
    at foundation.dropdown.min.js:1
    at Object.11 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
    at Object.47 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
    at Object.17 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
    at Object.83 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
:3000/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)

Posts Followed


Following

    No Content

Followers

My Posts

My Comments

You commented on Andrés Pérez's post over 2 years

I have the same issue 
I tried the following 
require('style!css!foundation-sites/dist/css/foundation.min.css')
require('script!foundation-sites/dist/js/foundation.min.js')
require('script!foundation-sites/nodemodules/jquery/src/jquery.js')
 
$ webpack -w
Hash: d15b3e8155117f58c244
Version: webpack 1.15.0
Time: 4204ms
             Asset     Size  Chunks             Chunk Names
./public/bundle.js  3.15 MB       0  [emitted]  main
   [0] multi main 52 bytes {0} [built]
    + 238 hidden modules
 
But on the webpage , i encountered the folowing errors 
 
Uncaught ReferenceError: define is not defined
    at eval (eval at module.exports (eval at <anonymous> (bundle.js:62)), <anonymous>:1:1)
    at eval (<anonymous>)
    at module.exports (eval at <anonymous> (bundle.js:62), <anonymous>:9:8)
    at eval (eval at <anonymous> (bundle.js:1460), <anonymous>:1:23)
    at Object.<anonymous> (bundle.js:1460)
    at __webpack_require
_ (bundle.js:20)
    at Object.eval (eval at <anonymous> (bundle.js:86), <anonymous>:18:1)
    at eval (eval at <anonymous> (bundle.js:86), <anonymous>:33:30)
    at Object.<anonymous> (bundle.js:86)
    at webpack_require (bundle.js:20)
foundation.dropdown.min.js:1 Uncaught TypeError: Super expression must either be null or a function, not undefined
    at r (foundation.dropdown.min.js:1)
    at foundation.dropdown.min.js:1
    at Object.11 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
    at Object.47 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
    at Object.17 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
    at Object.83 (foundation.dropdown.min.js:1)
    at e (foundation.dropdown.min.js:1)
:3000/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)

Posts Followed

Following

  • No Content

Followers

  • No Content