feat: 使用pnpm进行包管理

This commit is contained in:
2023-07-10 11:05:48 +08:00
parent 0cb418be2a
commit 88b60948f1
12 changed files with 16 additions and 5 deletions

View File

@ -0,0 +1,9 @@
html,
body,
#mars3dContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}

View File

@ -0,0 +1,11 @@
import * as mars3d from 'mars3d';
import './css/main.css';
import 'mars3d/dist/mars3d.css';
/**
*
* import * as mars3d from 'mars3d';
* const map = new mars3d.Map('mars3dContainer', {});
*
*
*/
const map = new mars3d.Map('mars3dContainer', {});