Use ESM with import maps to manage modern JavaScript in Laravel without transpiling or bundling.
MIT License
Bot releases are visible (Hide)
<x-importmap::tags />
component to layouts if they already exist in https://github.com/tonysm/importmap-laravel/commit/ff2019eb14b48223c985e6cdee0601455bc41d88
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.3.0...2.3.1
Published by tonysm 7 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.2.0...2.3.0
Published by tonysm 8 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.1.4...2.2.0
Published by tonysm 8 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.0.3...2.1.2
Published by tonysm 9 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.1.0...2.1.1
Published by tonysm 9 months ago
importmap:update
command and store CDN URL with package name and version in vendor comment by @tonysm in https://github.com/tonysm/importmap-laravel/pull/49
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.0.1...2.1.0
Published by tonysm 9 months ago
/vendor/my-lib.js
, for instance) https://github.com/tonysm/importmap-laravel/commit/4e17a78ba5c0b802e9825806fbafc7086461a670
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/2.0.0...2.0.1
Published by tonysm 10 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/1.8.3...2.0.0
The pinned imports to CDN URLs will still work, but I recommend you re-pin them now and host them yourself (we're now always downloading vendor libs to resources/js/vendor/
).
The <x-importmap-tags />
component has changed to <x-importmap::tags />
so you can run the following command to replace all occurrences of the previous component name in your layout files:
sed -i 's/x-importmap-tags/x-importmap::tags/g' resources/**/*.php
Also, ensure you have php artisan view:cache
in your deployment script.
Published by tonysm 10 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/1.8.1...2.0.0-beta1
Published by tonysm 11 months ago
Published by tonysm 11 months ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/1.7.0...1.8.0
Published by tonysm 11 months ago
bin/importmap
script by @tonysm in https://github.com/tonysm/importmap-laravel/pull/33
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/1.6.0...1.7.0
Published by tonysm about 1 year ago
config/filesystems.php
file by @tonysm in https://github.com/tonysm/importmap-laravel/pull/29
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/1.5.0...1.6.0
Published by tonysm over 1 year ago
importmap:packages
command that lists out the external packages being importedroutes/importmap.php
fileFull Changelog: https://github.com/tonysm/importmap-laravel/compare/1.4.1...1.5.0
Published by tonysm over 1 year ago
Full Changelog: https://github.com/tonysm/importmap-laravel/compare/1.4.0...1.4.1
Published by tonysm over 1 year ago
es-module-shims
version to 1.3.1
Published by tonysm almost 2 years ago
es-module-shims
version to 1.6.2
(latest) and make it configurable so applications may bump it without having to upgrade the packagePublished by tonysm about 2 years ago
public/vendor
(https://github.com/tonysm/importmap-laravel/commit/a3a685583bfaaf82e737f0ec2fb368f63f3d3c1f)Published by tonysm about 2 years ago
importmap:json
output (https://github.com/tonysm/importmap-laravel/commit/496cb8bc77c51fd1dae28f12e37a881b4cc41997)public/vendor
folder (https://github.com/tonysm/importmap-laravel/commit/b6c22d1f047715b1f47393dc55a59730397aa55a)Published by tonysm about 2 years ago
public/js
folder anymore, but instead ask the developer to do so (https://github.com/tonysm/importmap-laravel/commit/f0b3ad562bb748fe20f34768d8b9fb49936099c7)