Skip to content

Instantly share code, notes, and snippets.

View nhatphamcdn's full-sized avatar
🏠
Working from home

Nhật Phạm nhatphamcdn

🏠
Working from home
View GitHub Profile
@nhatphamcdn
nhatphamcdn / vue.config.js
Created July 9, 2020 07:49 — forked from Akryum/vue.config.js
Per-page split chunks
module.exports = {
pages: {
pageA: 'src/pageA.js',
pageB: 'src/pageB.js',
pageC: 'src/pageC.js',
},
chainWebpack: config => {
const options = module.exports
const pages = options.pages
@nhatphamcdn
nhatphamcdn / vue-web-development.md
Last active August 26, 2020 02:22
Tip web development with vuejs
// Find file size > 50000k linux
find /home -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
# Command generate base64 random
openssl rand -base64 20