everybody.
I want to load openlayers(https://github.com/openlayers) package to my laravel project, so I installed it from npm. In my webpack.mix.js I just added the following lines:
mix.webpackConfig({
resolve: {
modules: [
path.resolve('node_modules/ol')
]
}
})
It seeems ok when i execute
yarn development
but when i try the app browsers console sends me this message:
what I'm doing wrong? I'm not a very experienced user using webpack.
thanks in advance
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2BQs7fh
via IFTTT
Aucun commentaire:
Enregistrer un commentaire