Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
schbrain-archetype-initializer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tools
schbrain-archetype-initializer
Commits
015d4969
Commit
015d4969
authored
Apr 11, 2022
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: fileContent preview with highlight+2
parent
da6c9328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
initializer-ui/src/main.ts
initializer-ui/src/main.ts
+8
-2
No files found.
initializer-ui/src/main.ts
View file @
015d4969
...
@@ -4,11 +4,17 @@ import Antd from 'ant-design-vue'
...
@@ -4,11 +4,17 @@ import Antd from 'ant-design-vue'
import
'
./index.css
'
import
'
./index.css
'
import
'
ant-design-vue/dist/antd.css
'
;
import
'
ant-design-vue/dist/antd.css
'
;
import
'
highlight.js/styles/idea.css
'
;
import
'
highlight.js/styles/idea.css
'
;
import
'
highlight.js/lib/common
'
import
highlight
from
'
highlight.js/lib/core
'
import
java
from
'
highlight.js/lib/languages/java
'
;
import
xml
from
'
highlight.js/lib/languages/xml
'
;
import
yaml
from
'
highlight.js/lib/languages/yaml
'
;
import
highlightVuePlugin
from
'
@highlightjs/vue-plugin
'
import
highlightVuePlugin
from
'
@highlightjs/vue-plugin
'
const
app
=
createApp
(
App
)
highlight
.
registerLanguage
(
'
xml
'
,
xml
)
highlight
.
registerLanguage
(
'
yaml
'
,
yaml
)
highlight
.
registerLanguage
(
'
java
'
,
java
)
const
app
=
createApp
(
App
)
app
.
use
(
highlightVuePlugin
)
app
.
use
(
highlightVuePlugin
)
app
.
use
(
Antd
)
app
.
use
(
Antd
)
app
.
mount
(
'
#app
'
)
app
.
mount
(
'
#app
'
)
\ 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