Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
@awes-io/nuxt-laravel
Advanced tools
\
-- app
-- bootstrap
-- config
-- ...other Laravel folders
-- resources /
---- nuxt
------ assets
------ components
------ ... other Nuxt folders
-- nuxt.config.js
-- package.json
Place Nuxt project into resources/nuxt
folder, except nuxt.config.js
and package.json
. Place last mentioned files in the root of your project.
@awes-io/laravel-nuxt
in your composer.json
yarn add @awes-io/nuxt-laravel
nuxt.config.js
// nuxt.config.js
export default {
mode: 'spa',
srcDir: 'resources/nuxt',
modules: [
'@awes-io/nuxt-laravel' // include first
// other nuxt modules
]
}
package.json
// package.json
{
"scripts": {
"dev": "LARAVEL_URL=http://path.to.dev.laravel nuxt",
"build": "LARAVEL_URL=http://path.to.prod.laravel nuxt build",
"generate": "LARAVEL_URL=http://path.to.prod.laravel nuxt generate",
"start": "LARAVEL_URL=http://path.to.prod.laravel nuxt start"
}
}
This module will do the next steps:
/api/
route to your laravel backendpublic
path on nuxt generate
command and create index.html
for SPA entry pointEnsure to write proper commit message according to Git Commit convention
FAQs
Awes.io module for connection with Laravel backend
We found that @awes-io/nuxt-laravel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.