vue-parcel-starter
This is a simple starter file for vue.js 3 with parcel v2. I love both vue.js and parcel, so having a base starter to use just makes sense.
Alternatively, you can just load up this starter at its corresponding codesandbox url: https://codesandbox.io/s/github/edm00se/vue-parcel-starter
Features
- vue.js with SFCs (single file components)
- parcel for bundling and dev server
- jest for unit tests
- vs code jest config for debugging with tests
- prettier for formatting
- travis ci config for deploy via GitHub Pages
Installation
npx degit edm00se/vue-parcel-starter my-app
cd my-app
npm install
GitHub Template
This repository is hosted on GitHub, in which it is marked as a "template". Clicking the big green "Use this template" button from this repo's homepage.
Usage
npm run dev
gives you a development server with hot reloadingnpm run build
creates a production ready buildnpm test
runs test suites
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 🙂
History
This is based heavily upon the example of parcel with vue.js from the parcel examples repo. This will grow over time to build out inclusion of some features unique from the source example.
Unique Features (So Far)
- sass/scss support
- testing via jest
Related
- edm00se/create-vue-parcel an npm initializer
Credits
- parcel
- vue.js
- parcel-bundler/examples/Vue, upon which this is based
License
MIT