0.2.12 • Published 2 years ago

@fpkit/fp v0.2.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Vite template for REACT

Introduction

https://github.com/shawn-sandy/react-vite

Install

Install from a Github template

Use the github template feature to create a new repo using this repository as template and push it to your github account.

Install from github using degit

Clone the repository using degit: npx degit shawn-sandy/react-vite Open the repository and run npm init to edit the package.json file. Run npm i to install the dependencies. Run npm start to star the dev server.

Usage

Quick start

  • Browse to you install and run npm start to start the dev server and open in the browser. Use this if you are building a React application for publishing to the web
  • Browse /src directory to view and edit the source code.
  • Changes you make to this file should can be viewed in the browser.abs
  • Open the terminal and run npm test to test your application.

NPM script commands

  • Run npm start to start the application and open in the default brwser.
  • Run npm run build to build the application for production
  • Run npm run build:package to package for npm use
  • Run npm test to test your application in --watch mode.
  • Run npm test:ui to run your test with vite interactive Vite Test UI.
  • Run npm test:coverage to run test with coverage output
  • Run npm test:coverage:ui to run the vite test UI with coverage output
  • Run npm run test:snapshot to update the test snapshots.

Customize your application info

Change the app name, author, repository url in the package.json

  • Run npm init change the values as required.
# npm interactive prompts sample example

This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.

See `npm help init` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg>` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
package name: (react-vite)
version: (0.0.0)
entry point: (vitest.config.js)
git repository: (https://github.com/shawn-sandy/react-vite.git)
...

Create a new component

0.2.16

2 years ago

0.2.15

2 years ago

0.2.14

2 years ago

0.2.13

2 years ago

0.2.12

2 years ago

0.2.10

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.9

2 years ago

0.2.7

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago