A basic and clean nuxt and typescript template to start a project.
- Yarn (package manager).
- Clone the repository.
- Navigate to project folder.
- Run
yarn install
command to install dependencies. - Run
yarn dev
to start a development server.
- Run
yarn dev
to start a development server. - Run
yarn build
to generate production files. - Run
yarn start
to start a production server.
To generate a static website you have to add the following line to the nuxt configuration file:
export default {
target: 'static',
// { ... }
};
Once this is done, you can run yarn generate
to generate a static website.