Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
vue101
Compare Revisions
105996f3decbe5ef3a7726c83e23e40384070eab...0fda7f5154c348d4d1193258e362626ec2c1eda1
Hide whitespace changes
Inline
Side-by-side
src/components/icons/IconSupport.vue
0 → 100644
View file @
0fda7f51
<
template
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"20"
height=
"20"
fill=
"currentColor"
>
<path
d=
"M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"
/>
</svg>
</
template
>
src/components/icons/IconTooling.vue
0 → 100644
View file @
0fda7f51
<!-- This icon is from <https://github.com/Templarian/MaterialDesign>, distributed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0) license-->
<
template
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
aria-hidden=
"true"
role=
"img"
class=
"iconify iconify--mdi"
width=
"24"
height=
"24"
preserveAspectRatio=
"xMidYMid meet"
viewBox=
"0 0 24 24"
>
<path
d=
"M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z"
fill=
"currentColor"
></path>
</svg>
</
template
>
src/main.js
0 → 100644
View file @
0fda7f51
// import './assets/main.css'
import
{
createApp
}
from
'
vue
'
import
App
from
'
./App.vue
'
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import
ElementPlus
from
'
element-plus
'
;
import
'
element-plus/dist/index.css
'
;
// 引入Element Plus的样式
const
app
=
createApp
(
App
)
app
.
use
(
ElementPlus
);
app
.
mount
(
'
#app
'
)
vite.config.js
0 → 100644
View file @
0fda7f51
import
{
fileURLToPath
,
URL
}
from
'
node:url
'
import
{
defineConfig
}
from
'
vite
'
import
vue
from
'
@vitejs/plugin-vue
'
// https://vitejs.dev/config/
export
default
defineConfig
({
plugins
:
[
vue
(),
],
resolve
:
{
alias
:
{
'
@
'
:
fileURLToPath
(
new
URL
(
'
./src
'
,
import
.
meta
.
url
))
}
}
})
Prev
1
2
Next