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
bbeeae4d
Commit
bbeeae4d
authored
Sep 22, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:图标打包问题
parent
f48514d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.ts
frontend/src/main.ts
+3
-3
No files found.
frontend/src/main.ts
View file @
bbeeae4d
...
...
@@ -7,13 +7,13 @@ import { createPinia } from 'pinia'
import
'element-plus/dist/index.css'
import
router
from
'./router'
import
'virtual:uno.css'
import
*
as
Icons
from
'@element-plus/icons-vue'
import
*
as
ElementPlusIconsVue
from
'@element-plus/icons-vue'
const
pinia
=
createPinia
()
const
app
=
createApp
(
App
)
for
(
let
i
in
Icons
)
{
app
.
component
(
i
,
Icons
[
i
]
)
for
(
const
[
key
,
component
]
of
Object
.
entries
(
ElementPlusIconsVue
))
{
app
.
component
(
key
,
component
)
}
app
.
use
(
pinia
)
...
...
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