Releases: chasegiunta/craft-vue
Version 3.1
- Requires Craft CMS 3.4
- Pulls in updates from Craft's starter
- Updates .env.example with new DSN setting
- Bump phpdotenv to 3.4
- Bumps Vue CLI dependencies
- Pull DSN info in welcome HelloWorld template
Version 3.0.1
- Default
build
script to use--modern
flag, so manifest-legacy.json is also generated to ensure twigpack doesn't throw errors trying to find it.
Version 3.0.0
-
🖖 Updated Vue dep to ^2.6 & Vue CLI dep to ^3.8.0
-
🎉 Ditched AssetRev plugin in favor of Twigpack (thanks @khalwat!) & turned on Vue CLI's Modern Mode
- Vue CLI now produces two versions of your app: one modern bundle targeting modern browsers that support ES modules, and one legacy bundle targeting older browsers that do not. (https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode)
- For a Hello World app, the modern bundle is already 16% smaller. In production, the modern bundle will typically result in significantly faster parsing and evaluation, improving your site's loading performance
- Twigpack automatically serves up either modern or legacy build when applicable
- Adds browser refreshing on error pages
- Vue CLI now produces two versions of your app: one modern bundle targeting modern browsers that support ES modules, and one legacy bundle targeting older browsers that do not. (https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode)
-
⚡️ Babel configured out of the box, added hints to resources in config files
-
®️ Removed requirement for camelCase components to be automatically registered. Can now nest components in subfolders.
-
🥃 Pulled in updates from Craft starter (https://github.com/craftcms/craft)
-
🧹Removed unnecessary settings from CLI config
- Removed Sane watcher - no longer necessary
Version 2.1.2
Fixes hot module reloading
Version 2.1.1
Update from craft-starter
Version 2.1.0
- Adds automatic component registration
- Any vue components placed within
src/components
will be registered with Vue automatically
- Any vue components placed within
Version 2.0.3
- Adds
clientLogLevel: 'info'
to bring beloved HMR logs to the browser console
Version 2.0.2
- Fixes HMR .
For existing craft-vue v2 projects, please see necessary changes to vue.config.js
here
Version 2.0.1
- Fix env check for styles loading
Version 2.0.0
-
Craft-Vue is now based on the new Vue CLI 3. This eliminates webpack's multi-file configuration completely (which made updating a vue-webpack project nearly impossible).
-
Projects are configured from a single, small
vue.config.js
file. -
The default Craft CMS project scaffold repo is now upstream: this repo will stay up to date.
-
Asset serving locations (dev server vs. dist folder) is now dependent on the current environment variable set in the
.env
file, instead of whether Craft is running in Dev Mode. -
The landing page now shows an example of passing props & slot content from twig to Vue components (seen in
templates/index.twig
)