Comments (5)
Fresh install - no edits at all
vendor.js is 27MB even after running in production mode.
from laravue.
Hi @SibaAl,
After compression, app.js is only 552KB, vendor.js is 1.4M and this will be cached by the browser. You can check on laravue.dev.
Alternatively, you can apply lazyloading for Vue components with Laravel Mix and webpack.
from laravue.
Hi @tuandm ,
Thank you for your reply, I did check laravue.dev file sizes are as you mentioned, can you think of anything to cause such large files seizes? I cloned your repo without doing any changes!
from laravue.
@SibaAl Because in your local, those files are not minified and compressed. You can run npm run report
to see the sizes of each library in the bundle file.
from laravue.
@SibaAl I see your question on StackOverFlow and happy to know your issue was fixed. Closing this issue.
from laravue.
Related Issues (20)
- api return 401 after login HOT 3
- update the composer, cant work on environment with php version 7.5 and above
- warning console
- Trying to get in touch regarding a security issue
- Reload problem
- Dispatch return undefined
- Laravel mix, js file from npm dev/production not found
- Updating of VueJS Version
- Certificate on laravue.dev expired on 02/03/2022. Currently cannot access the site at all. HOT 2
- error Couldn't find the binary git HOT 1
- need help with old project based on laravue HOT 1
- Mix manifest not found when running docker HOT 3
- Redirect 404 for all url not match
- I modified the code during development, but the browser did not refresh automatically. What should I do ,please HOT 2
- Gives 404 error in login HOT 1
- your website's certificate out of date HOT 1
- page permissions HOT 1
- responsive user-profile HOT 2
- https://laravue.dev/ SSL Certificate Expired HOT 1
- How to configure DocumentRoot and .env for deployment to production?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravue.