Skip to content

Commit

Permalink
added vite commented option
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Nov 2, 2023
1 parent 3bfc63e commit 00501d6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
],
'replacements' => [
'routes/web' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE', 'CONTROLLER_NAMESPACE'],
'routes/api' => ['LOWER_NAME'],
'routes/api' => ['LOWER_NAME', 'STUDLY_NAME'],
'vite' => ['LOWER_NAME'],
'json' => ['LOWER_NAME', 'STUDLY_NAME', 'MODULE_NAMESPACE', 'PROVIDER_NAMESPACE'],
'views/index' => ['LOWER_NAME'],
Expand Down
10 changes: 4 additions & 6 deletions src/Commands/stubs/package.stub
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"build": "vite build"
},
"devDependencies": {
"axios": "^0.21.4",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"laravel-vite-plugin": "^0.6.0",
"lodash": "^4.17.21",
"axios": "^1.1.2",
"laravel-vite-plugin": "^0.7.5",
"sass": "^1.69.5",
"postcss": "^8.3.7",
"vite": "^3.0.9"
"vite": "^4.0.0"
}
}
5 changes: 5 additions & 0 deletions src/Commands/stubs/vite.stub
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ export default defineConfig({
}),
],
});

//export const paths = [
// 'Modules/$STUDLY_NAME$/resources/assets/sass/app.scss',
// 'Modules/$STUDLY_NAME$/resources/assets/js/app.js',
//];

0 comments on commit 00501d6

Please sign in to comment.