Commit c9307f04 authored by chenqikuai's avatar chenqikuai

部署脚本、修复tailwind打包问题

parent 7bd06acb
.DS_Store
node_modules
/dist
/fns_front
# local env files
.env.local
......
tar -czf fns_front.tar fns_front
scp fns_front.tar root@121.40.18.70:/usr/share/nginx/html/fns_front.tar
rm -rf fns_front.tar
ssh root@121.40.18.70 'cd /usr/share/nginx/html && rm -rf fns_front && tar -xzf fns_front.tar && rm -rf fns_front.tar'
echo '👉 http://121.40.18.70:2048/'
\ No newline at end of file
......@@ -9,6 +9,7 @@ module.exports = {
purge: [
'./src/**/*.html',
'./src/**/*.js',
'./src/**/*.vue',
],
darkMode: false, // or 'media' or 'class'
theme: {
......
module.exports = {
outputDir: 'fns_front',
configureWebpack: {
optimization: {
splitChunks: {
maxSize: 200 * 1024,
}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment