marsgis / mars3d-es5-example

Mars3D功能示例 - 原生JS版本
http://mars3d.cn/example.html?type=es5
Apache License 2.0
16 stars 19 forks source link

Import libs without poisoning index.html #2

Closed francesco-gallo closed 2 years ago

francesco-gallo commented 2 years ago

Hello, is there a way to import contextually the libraries? In an angular application using this method all the css (expecially bootstrap and admui) will break any other css using the same generic classes (and in the angular example there is no use of the libs)

Thanks

muyao1987 commented 2 years ago

This repository example is based on es5 native JS code and can be referenced to other repositories https://github.com/marsgis/mars3d-angular-template https://github.com/marsgis/mars3d-vue-example

francesco-gallo commented 2 years ago

I already took a look at the angular template, both it and the "cesium angular example" (https://github.com/Developer-Plexscape/cesium-angular-example) referenced there have no widgets that needed the "public" root folder injection.