Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
c9307f04
Commit
c9307f04
authored
Sep 09, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部署脚本、修复tailwind打包问题
parent
7bd06acb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
.gitignore
.gitignore
+1
-1
deploy.sh
deploy.sh
+6
-0
tailwind.config.js
tailwind.config.js
+1
-0
vue.config.js
vue.config.js
+7
-1
No files found.
.gitignore
View file @
c9307f04
.DS_Store
.DS_Store
node_modules
node_modules
/dist
/dist
/fns_front
# local env files
# local env files
.env.local
.env.local
...
...
deploy.sh
0 → 100644
View file @
c9307f04
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
tailwind.config.js
View file @
c9307f04
...
@@ -9,6 +9,7 @@ module.exports = {
...
@@ -9,6 +9,7 @@ module.exports = {
purge
:
[
purge
:
[
'./src/**/*.html'
,
'./src/**/*.html'
,
'./src/**/*.js'
,
'./src/**/*.js'
,
'./src/**/*.vue'
,
],
],
darkMode
:
false
,
// or 'media' or 'class'
darkMode
:
false
,
// or 'media' or 'class'
theme
:
{
theme
:
{
...
...
vue.config.js
View file @
c9307f04
module
.
exports
=
{
module
.
exports
=
{
outputDir
:
'fns_front'
,
configureWebpack
:
{
configureWebpack
:
{
optimization
:
{
splitChunks
:
{
maxSize
:
200
*
1024
,
}
}
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment