Giter Site home page Giter Site logo

quangtrongonline / oc-vuetober-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scottbedard/vuetober

0.0 1.0 0.0 635 KB

A webpack starting point for single page apps with October CMS and Vue

Home Page: http://vuetober.scottbedard.net

License: MIT License

JavaScript 88.10% CSS 3.53% HTML 2.14% Vue 6.23%

oc-vuetober-theme's Introduction



MIT

This project is an opinionated approach to single page applications within the awesome worlds of Vue.js, October CMS, and Laravel. To see what's included out of the box, check out the live demo.

Installation

In order to use this theme, you'll need to have a fair understanding of Vue.js. If you've never used this framework before, you can get the fundamentals down through this free screencast series.

To install a Vuetober theme, run the following commands from your /themes directory.

# clone down the repository and cd into it
$ git clone https://github.com/scottbedard/oc-vuetober-theme.git mytheme
$ cd mytheme

# install dependencies
$ yarn

# run setup command
$ yarn run setup

# compile production assets
$ yarn run build

# start development server
$ yarn run dev

# run unit tests
$ yarn test

Note: This theme uses Yarn to manage it's dependencies. If you're unfamiliar with Yarn, this screencast is a great place to start.

Screen casts

Episode 1: Introduction to Vuetober

Episode 2: Using the development server

Episode 3: Registering global components

Episode 4: Communicating with the backend

Features

Single file components

Vue is a fantastic framework, and when using .vue files we have a great foundation for creating small, composable components. With this setup, we're able to write our code using any pre-processors we like, and take advantage of things like hot reloading and scoped css.

State of the art tooling

This theme takes full advantage of Webpack 3. The build script will optimize your application with techniques like automatically inlining small images, tree shaking, and more. In addition to this, ESLint will automatically fix your javascript to ensure a consistent style throughout your codebase.

Modern Javascript

You're free to use the latest and greatest Javascript and JSX. Your code will be compiled by Babel into something that every browser can understand.

Unit testing

Every aspect of this theme is unit testable, with great tooling set up to help you deliver rock solid code. This includes the ability to easily render components in tests, mock dependencies, and even spy on functions. In addition to this, code coverage reporting is already configured, which means it's trivially easy to integrate with a service like CodeCov.

oc-vuetober-theme's People

Contributors

scottbedard avatar almusamim avatar michael-reich avatar

Watchers

QuangTrọngOnline avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.