Skip to content

Releases: chasegiunta/craft-vue

Version 3.1

02 Feb 17:47
Compare
Choose a tag to compare
  • 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

21 Jun 03:59
c0b68d4
Compare
Choose a tag to compare
  • 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

07 Jun 02:03
Compare
Choose a tag to compare
  • 🖖 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
  • ⚡️ 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

07 Jan 22:39
9731c53
Compare
Choose a tag to compare

Fixes hot module reloading

Version 2.1.1

19 Sep 22:44
947c58f
Compare
Choose a tag to compare

Update from craft-starter

Version 2.1.0

01 Sep 17:58
Compare
Choose a tag to compare
  • Adds automatic component registration
    • Any vue components placed within src/components will be registered with Vue automatically

Version 2.0.3

09 Aug 17:00
c92244c
Compare
Choose a tag to compare
  • Adds clientLogLevel: 'info' to bring beloved HMR logs to the browser console

Version 2.0.2

08 Aug 17:06
42b6dbb
Compare
Choose a tag to compare
  • Fixes HMR .

For existing craft-vue v2 projects, please see necessary changes to vue.config.js here

Version 2.0.1

06 Aug 02:46
b39d65e
Compare
Choose a tag to compare
  • Fix env check for styles loading

Version 2.0.0

04 Aug 05:21
Compare
Choose a tag to compare
  • 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)