Coder Social home page Coder Social logo

samteb / vue-2-webpack-4-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
149.0 149.0 95.0 15 KB

Ready to use Vue 2+ project with webpack 4 configuration for development and production

Home Page: https://medium.com/js-dojo/how-to-configure-webpack-4-with-vuejs-a-complete-guide-209e943c4772

License: MIT License

JavaScript 90.57% HTML 2.28% Vue 7.16%
vuejs vuejs2 vuex webpack webpack4

vue-2-webpack-4-boilerplate's People

Contributors

samteb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vue-2-webpack-4-boilerplate's Issues

memory leak with MHR

when HMR open, memory usage will become more and more bigger when modify file for many times.

assets statics path

Hi,

I'm newbie, I added /src/statics/ folder
but I used in vue file doest work < img src="statics/test.png" />

how to add static path?

Error with vue.cli 3

hi,

thank you for this solution. It work really good in your small test env. But if i try to use it in my application i always got some errors.

Currently i have this error i cant resolve:

Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.

Hash: 0e820b8704eb9b76ae14
Version: webpack 4.29.6
Time: 923ms
Built at: 2020-05-14 20:05:37
Asset Size Chunks Chunk Names
index.html 398 bytes [emitted]
js/polyfill.chunk.js 159 bytes polyfill [emitted] polyfill
js/runtime.bundle.js 30.9 KiB runtime [emitted] runtime
js/vendorspolyfill.chunk.js 945 KiB vendorspolyfill [emitted] vendorspolyfill
Entrypoint polyfill = js/runtime.bundle.js js/vendors
polyfill.chunk.js js/polyfill.chunk.js
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {vendors~polyfill} [built]
+ 281 hidden modules

ERROR in Entry module not found: Error: Can't resolve 'C:\Users\Christoph\Lokaler-Speicherort-PC\SpeicherDaten_HoehensteigerGames_\source_HoehensteigerGames\WebDev\Web Admin Panel\client\src\main' in 'C:\Users\Christoph\Lokaler-Speicherort-PC\SpeicherDaten_HoehensteigerGames_\source_HoehensteigerGames\WebDev\Web Admin Panel\client'
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./index.html] 390 bytes {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
+ 1 hidden module
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Christoph\AppData\Roaming\npm-cache_logs\2020-05-14T18_05_37_171Z-debug.log

But the the direcotry and file structure exactly the same as you have.

may you have a solution where i can use the same config in my vue.config.js?

The only difference between my project and yours is that i use typescript. So my main.js is a main.ts.

It would be grate if you can help me. Tank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.