Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !36412

Docs: Add a Vite Getting Started guide

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julien Déramond requested to merge github/fork/julien-deramond/main-jd-getting-started-with-vite into main May 20, 2022
  • Overview 21
  • Commits 12
  • Pipelines 0
  • Changes 12

Warning This is heavily a WIP. It is pushed unfinished in order to be able to co-write it with the core team. I've never tried Vite yet so it will be interesting :) Don't hesitate to contribute to this PR ;)

Based on the rewrite of Webpack and Parcel Getting Started guides, let's create a Vite guide.

Pre-requisites

  • https://github.com/twbs/bootstrap/pull/36411 must be merged
  • https://github.com/twbs/bootstrap/pull/36382 must be merged

Tasks

  • Compare the content with https://github.com/twbs/bootstrap/pull/36411 and https://github.com/twbs/bootstrap/pull/36382 to get back the modifications here for consistency
    • Study if things can be reused between the three guides (images, markdown, etc.)
  • Finish the guide by improving the first part
    • Check if it is not better to start the guide by npm create vite@latest my-project -- --template vanilla
    • Are some loaders not missing?
  • Finish the guide by writing the second part
  • When the guide is considered OK
    • Provide twbs/examples repository (see https://github.com/twbs/examples/pull/2)
      • Maybe the index.html needs to be updated for Parcel and Webpack ton include Vite reference
      • In those example, having links to 5.2 isn't too hard to maintain?
    • Provide the example in StackBlitz
    • @mdo :pray:: Create specific Vite images (x3) and compress them
  • Could be interesting to have a vite.new/bootstrap?
  • Provide an answer to https://github.com/twbs/bootstrap/discussions/36121

Live preview

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/julien-deramond/main-jd-getting-started-with-vite