🤘 Create Petite App

create-petite-app is a frontend template that includes libraries MDBootstrap, Animate.css, and Petite-Vue.

The use of CSS utility classes and the reactivity model provided by Petite-Vue helps build projects very fast!

Demo website: Lomography LomoInstant Automat | flyingV

Features

Pre-packed

Ways of quick start

cd desktop; npx degit rayc2045/create-petite-app new-petite-app

Usage

Petite-Vue template syntax

See more usages from petite-vue README.md on GitHub.

        <script type="module">
          import { createApp } from 'https://unpkg.com/petite-vue?module'
        
          function Counter(props) {
            return {
              count: props.initialCount,
              inc() {
                this.count++
              },
              mounted() {
                console.log("I'm mounted!")
              }
            }
          }
        
          createApp({
            Counter
          }).mount()
        </script>
        
        <div v-scope="Counter({ initialCount: 1 })" @vue:mounted="mounted">
          <p>{{ count }}</p>
          <button @click="inc">increment</button>
        </div>
        
        <div v-scope="Counter({ initialCount: 2 })">
          <p>{{ count }}</p>
          <button @click="inc">increment</button>
        </div>
        

MDBootstrap examples

See more examples ranging from using parts of the framework to custom components and layouts here.

.col-sm-6 .col-lg-8
.col-6 .col-lg-4
.col-6 .col-sm-4
.col-6 .col-sm-4
.col-6 .col-sm-4
Fissure in Sandstone
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere

Animate.css animations

🙁 Oops! It seems that you ✏️ Note that users may have animations disabled on the OS, turning Animate.css off. Animate.css supports the prefers-reduced-motion CSS media feature. You can read more about it here.