
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@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
The npm package @awes-io/nuxt-laravel receives a total of 80 weekly downloads. As such, @awes-io/nuxt-laravel popularity was classified as not popular.
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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.