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
30e3d0ec
Commit
30e3d0ec
authored
Apr 12, 2022
by
liaozan
🏀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: fileContent preview with highlight+3
parent
015d4969
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
initializer-ui/src/main.ts
initializer-ui/src/main.ts
+2
-9
No files found.
initializer-ui/src/main.ts
View file @
30e3d0ec
...
...
@@ -3,17 +3,10 @@ import App from './App.vue'
import
Antd
from
'
ant-design-vue
'
import
'
./index.css
'
import
'
ant-design-vue/dist/antd.css
'
;
import
'
highlight.js/styles/idea.css
'
;
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
'
highlight.js/styles/stackoverflow-light.css
'
import
'
highlight.js/lib/common
'
;
import
highlightVuePlugin
from
'
@highlightjs/vue-plugin
'
highlight
.
registerLanguage
(
'
xml
'
,
xml
)
highlight
.
registerLanguage
(
'
yaml
'
,
yaml
)
highlight
.
registerLanguage
(
'
java
'
,
java
)
const
app
=
createApp
(
App
)
app
.
use
(
highlightVuePlugin
)
app
.
use
(
Antd
)
...
...
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