Skip to content

elix/multiple-version-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo shows how to use package.json to load different versions of Elix, and how to load different versions of Elix on the same page.

The package.json file creates aliases for multiple versions of Elix:

"dependencies": {
  "elix-7": "npm:elix@7.0.0",
  "elix-8": "npm:elix@8.0.0"
}

These aliases are then referenced in paths in index.html, in HTML:

<script type="module" src="node_modules/elix-7/src/DateComboBox.js"></script>

or in JavaScript:

import DateComboBox from './node_modules/elix-8/src/DateComboBox.js';

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages