Skip to content

mattweston/map

This branch is 2 commits behind sitefestmap/map:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

30c95a4 · Jun 11, 2023
May 4, 2023
Jun 10, 2023
Jun 10, 2023
Jun 10, 2023
Jun 11, 2023
Jun 2, 2023
Jun 2, 2023
Jun 11, 2023
Jun 10, 2023
Jun 1, 2023
Jun 10, 2023
Jun 10, 2023
Jun 10, 2023

Repository files navigation

SVA Site Festival Map

Dependancies

# if need to pull the repo and install dependancies
npm install
{
  "scripts": {
    "dev": "vite dev --port 3103",
    "build": "vite build",
    "preview": "vite preview"
  },
  "dependencies": {
    "@mapbox/mapbox-sdk": "^0.15.1",
    "mapbox-gl": "^2.14.1",
    "vite": "^4.3.8"
  }
}

The mapbox/mapbox-directions goes in the <head> to prevent dep conflict error.

Vite Config

Config for Vanilla JS Multi-page apps in Vite, where there are multiple HTML files in the root folder.

import { resolve } from 'path'
import { defineConfig } from 'vite'

export default defineConfig({
  build: {
    rollupOptions: {
      input: {
        main: resolve(__dirname, 'index.html'),
        next: resolve(__dirname, 'index2.html'),
      },
    },
  },
})

Static Assets

Vite Public Dir

Styles

Transfer Styles between accounts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 78.5%
  • JavaScript 15.0%
  • CSS 6.5%