Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
Pin vite to version 2.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
warrickbayman committed Jul 18, 2022
1 parent e813c1d commit c78760b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Installers/NodeDependencyInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class NodeDependencyInstaller extends AbstractInstaller
'lodash',
'postcss@latest',
'tailwindcss@latest',
'vite',
'vue@next',
'vite@^2.9.0',
'vue',
];

public function handle(): void
Expand Down
4 changes: 2 additions & 2 deletions stubs/app.js.stub
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '../css/app.css';
import './bootstrap.js.stub';
import './bootstrap.js';

import { createApp, h } from 'vue'
import { createInertiaApp } from '@inertiajs/inertia-vue3'
Expand All @@ -17,5 +17,5 @@ createInertiaApp({
createApp({ render: () => h(app, props) })
.use(plugin)
.mount(el);
},
}
});

0 comments on commit c78760b

Please sign in to comment.