create-alpine-app

0.0.8 • Public • Published

Create Alpine App

Create Alpine App Screenshot

Create an Alpine and Tailwind app with a single command. Similar to how React has Create React App, this is the equivalent to get you up and running with a simple static Alpine application.

Installation

Install and get running with the following commands:

npx create-alpine-app my-app
cd my-app
npm run dev

Usage

Now, you can edit the index.html file in the root directory. Alpine is loaded in the index.js, and Tailwind is loaded in the index.css file. Hot Reloading Enabled 🔥

Hot Reloading

You can update the directory or file type that you want the watcher to look for inside of the handleHotUpdate method inside of alpine-vite-plugin.js.

Building for production

If you want to distribute this application, you can run:

npm run build

And you're application will be built inside of the /dist folder.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i create-alpine-app

Weekly Downloads

18

Version

0.0.8

License

none

Unpacked Size

8.88 kB

Total Files

12

Last publish

Collaborators

  • tonyleanpm