從yarn改回npm,並將前端部署用的檔案從git分離
Laravel預設仍是使用npm,若不使用npm的情況下,會造成在跑 `yarn run dev` 的時候,中間有環節會呼叫npm時會出錯。 另外在使用 `npm run dev` 時發現會覆蓋掉有被git算上的前端部屬用的檔案,故修改.gitignore將這些檔案脫離。
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,8 @@
|
||||
/node_modules
|
||||
/public/hot
|
||||
/public/storage
|
||||
/public/js
|
||||
/public/css
|
||||
/storage/*.key
|
||||
/vendor
|
||||
/.idea
|
||||
|
||||
Reference in New Issue
Block a user