Skip to content

Commit

Permalink
import css only once
Browse files Browse the repository at this point in the history
  • Loading branch information
fdq09eca committed Nov 15, 2023
1 parent fa327f7 commit ed30c33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default {
</template>

<style>
@import "https://js.arcgis.com/4.28/@arcgis/core/assets/esri/themes/light/main.css";
html,
body {
margin: 0;
Expand Down
3 changes: 0 additions & 3 deletions demo/src/components/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import Logo from "./Logo.vue";
import LonLatBox from "./LonLatBox.vue";
import ScaleBox from "./ScaleBox.vue";
export default {
components: {
Logo,
Expand Down Expand Up @@ -52,8 +51,6 @@ export default {
</script>
<style scoped>
@import "https://js.arcgis.com/4.28/@arcgis/core/assets/esri/themes/light/main.css";
#viewDiv {
flex: 1;
border: rgb(38, 38, 37) solid 2px;
Expand Down

0 comments on commit ed30c33

Please sign in to comment.