Skip to content
This repository has been archived by the owner on Nov 12, 2021. It is now read-only.
/ nuxt-tsx Public archive

Nuxt.js build with TypeScript and TSX support

License

Notifications You must be signed in to change notification settings

Phoenix2k/nuxt-tsx

Repository files navigation

Nuxt TSX

Workflow status

Nuxt.js build with TypeScript and TSX support

For detailed explanation on how things work, check out Nuxt.js docs. To learn more about the TypeScript build, visit Nuxt TypeScript.

Build

Requirements

Installation

$ npm run install

Development

Serve with hot reload

$ npm run dev

Default location: http://localhost:3000/

Build for production and launch server

$ npm run build
$ npm run start

Generate static project

$ npm run generate

Files will be generated in the dist folder.

Linting

$ npm run lint

Fix files automatically

$ npm run lint:fix

Testing

Run all tests

$ npm test

End to end tests with Cypress

$ npm run test:e2e

Unit tests with Jest

$ npm run test:unit

Update snapshots

$ npm run test:update

Links

License

MIT