Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周田
vue_django_test
Commits
136548f2
Commit
136548f2
authored
Sep 07, 2023
by
qianmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:icon
parent
dd14a1ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
package.json
frontend/package.json
+1
-0
main.ts
frontend/src/main.ts
+6
-1
No files found.
frontend/package.json
View file @
136548f2
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
"html"
:
"node handleHTML.js"
"html"
:
"node handleHTML.js"
},
},
"dependencies"
:
{
"dependencies"
:
{
"@element-plus/icons-vue"
:
"^2.1.0"
,
"@vitejs/plugin-legacy"
:
"^4.1.1"
,
"@vitejs/plugin-legacy"
:
"^4.1.1"
,
"axios"
:
"^1.4.0"
,
"axios"
:
"^1.4.0"
,
"element-plus"
:
"^2.3.9"
,
"element-plus"
:
"^2.3.9"
,
...
...
frontend/src/main.ts
View file @
136548f2
...
@@ -7,10 +7,15 @@ import { createPinia } from 'pinia'
...
@@ -7,10 +7,15 @@ import { createPinia } from 'pinia'
import
'element-plus/dist/index.css'
import
'element-plus/dist/index.css'
import
router
from
'./router'
import
router
from
'./router'
import
'virtual:uno.css'
import
'virtual:uno.css'
import
*
as
Icons
from
'@element-plus/icons-vue'
const
pinia
=
createPinia
()
const
pinia
=
createPinia
()
const
app
=
createApp
(
App
)
const
app
=
createApp
(
App
)
for
(
let
i
in
Icons
){
app
.
component
(
i
,
Icons
[
i
])
}
app
.
use
(
pinia
)
app
.
use
(
pinia
)
app
.
use
(
router
)
app
.
use
(
router
)
app
.
use
(
ElementPlus
)
app
.
use
(
ElementPlus
)
...
...
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