Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
smart3d-vue3
Project
Project
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
SVI
svi-templates
smart3d-vue3
Commits
41615150
Commit
41615150
authored
Nov 02, 2022
by
曾沂轮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善警告
parent
bd1a7797
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
Viewer.vue
template/src/components/Viewer.vue
+1
-1
main.ts
template/src/main.ts
+1
-1
tsconfig.json
template/tsconfig.json
+1
-0
No files found.
template/src/components/Viewer.vue
View file @
41615150
...
...
@@ -6,7 +6,7 @@ const containerRef = ref();
onMounted
(()
=>
{
const
container
=
containerRef
.
value
;
viewer
=
new
Viewer
(
container
);
const
viewer
=
new
Viewer
(
container
);
console
.
log
(
viewer
);
})
</
script
>
...
...
template/src/main.ts
View file @
41615150
import
{
createApp
}
from
'vue'
;
import
App
from
'./App.vue'
;
import
'smart3d
-vue/es/style/base.s
css'
;
import
'smart3d
/dist/smart3d/smart3d.
css'
;
createApp
(
App
).
mount
(
'#app'
);
template/tsconfig.json
View file @
41615150
{
"compilerOptions"
:
{
"baseUrl"
:
"/"
,
"target"
:
"esnext"
,
"useDefineForClassFields"
:
true
,
"module"
:
"esnext"
,
...
...
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