2.2.8 • Published 1 year ago

create-vite-native-app v2.2.8

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Create Vite application for pug projects with native js

This is a utility package used to automate Vite configuration with npm command. It uses a custom Vite project template.

For more details check out the GitHub repo

Usage

Creating new project

You can simply run a npx command:

npx create-vite-native-app

This command will create a preconfigured vite project from this GitHub repo

Creating new component

To create a new component in the current project run

npx create-vite-native-app --component

This command will create a new folder under /src/components/ with a specified name. It will also prompt you with a couple of options:

  • you can choose to include js files and style files
  • you can choose what file types to use for your styles (css / scss / sass)

If you've chosen to create files for styles and javascript it will try to import them in /utils/main.scss and /utils/main.js accordingly

Creating new page

To create a new page in the current project run

npx create-vite-native-app --page

This command will create a new folder under /src/pages. It will also let you configure your page similar to a component command. Note that js and style files will not be imported automatically unlike components' styles and js.

2.2.1

1 year ago

2.2.3

1 year ago

2.2.2

1 year ago

2.2.5

1 year ago

2.1.6

1 year ago

2.2.4

1 year ago

2.2.7

1 year ago

2.1.8

1 year ago

2.2.6

1 year ago

2.1.7

1 year ago

2.2.8

1 year ago

2.1.9

1 year ago

2.1.16

1 year ago

2.1.14

1 year ago

2.1.15

1 year ago

2.1.12

1 year ago

2.1.13

1 year ago

2.1.10

1 year ago

2.1.11

1 year ago

2.1.5

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.20

1 year ago

2.0.19

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago