-
Notifications
You must be signed in to change notification settings - Fork 807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for VUE 3 #2440
Comments
With vuejs 3 hitting RC status this has become a very welcome improvement. |
Agreed. Like like to hear a proposed timeline as well. |
Update? |
Any update, please? |
Is there any update of VUE 3 support? |
Until support is added, you can use webpack directly: // webpack.config.js
const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
module.exports = (env = {}) => ({
mode: env.prod ? 'production' : 'development',
devtool: env.prod ? 'source-map' : 'eval-cheap-module-source-map',
entry: [
path.resolve(__dirname, './resources/js/app.ts'),
],
output: {
path: path.resolve(__dirname, './public/js'),
filename: "app.js"
},
resolve: {
alias: {
'@': path.resolve(__dirname, './resources/js'),
},
extensions: ['.ts', '.js', '.vue'],
},
module: {
rules: [
{
test: /\.vue$/,
use: 'vue-loader'
},
{
test: /\.ts$/,
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/],
}
},
]
},
plugins: [
new VueLoaderPlugin(),
],
}); Minimal Laravel config based on https://github.com/vuejs/vue-next-webpack-preview Run with |
@mayanksdudakiya and @Masterbranch1 you can use temporary this package https://github.com/KABBOUCHI/laravel-mix-vue3 until the official support is out. |
This solution also works for me: https://stackoverflow.com/questions/63967346/install-vue-3-0-in-laravel/63994238#63994238 If you use inline template like i do then you have to switch to using slots since inline-template is deprecated. |
Support is in Mix v6. |
When it is planned to include VUE 3 support ??
The text was updated successfully, but these errors were encountered: