You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These instructions have you use Vue CLI because it provides the GUI that is easy to work with, and it does a lot of the configuration of Vue for you. Using mapboard, however, you are not going to be writing vue code. The default project that Vue CLI sets up is different from what you have to do to make a mapboard project, so you are going to discard most of it.
You can right away delete the following folders:
src/assets
src/components
You can also right away delete the following files:
public/favicon.ico
src/App.vue
You can also delete everything in the file main.js - don't delete the file because we need a main.js that is different.
Our main.js just has to import one of those libraries and call the function it exports:
import mapboard from '@phila/mapboard/src/main.js';
mapboard({ ...
})
OR
import layerboard from '@phila/layerboard/src/main.js';
layerboard({ ...
})