An easy way to start a modern full-stack Sails project.
npx create-sails@latest <project-name>
or
npm init sails
- Inertia.js powered by inertia-sails
- Vue 3/React/Svelte setup depending on the frontend framework you choose.
- Tailwind CSS
- Webpack 5
This scaffolding uses Webpack 5 for managing your Frontend assets. This is done via a project level hook called webpack
which you can find in config/webpack.js
. You can edit this file if you are familiar with Webpack or you want something more custom. But out of the box this should be good to go for 90% of projects.