client
- Vue.js project
server
- AdonisJs API
Vue.js works fine but AdonisJs doesn't want to start.
How can this be implemented using only one package.json
?
client
- Vue.js project
server
- AdonisJs API
Vue.js works fine but AdonisJs doesn't want to start.
How can this be implemented using only one package.json
?
In Adonis v5 you can do it by changing the .adonisrc.json
.
The .adonisrc.json file is stored inside the root of your project. It configures the workspace and some of the runtime settings of your AdonisJS application. The file only contains the minimum required configuration to run your application.
You can view the complete file contents by running the following ace command.
node ace dump:rcfile
You can dig deeper by reading their documents on https://docs.adonisjs.com/guides/adonisrc-file#directories.
An object of known directories and their pre-configured paths. You can change the path to match your requirements.