Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/proyang/vue-parcel-demo
:building_construction:Quickstart example including Code Splitting, Hot Reloading, Vuex, Vue Router and Less.
https://github.com/proyang/vue-parcel-demo
Last synced: 1 day ago
JSON representation
:building_construction:Quickstart example including Code Splitting, Hot Reloading, Vuex, Vue Router and Less.
- Host: GitHub
- URL: https://github.com/proyang/vue-parcel-demo
- Owner: proYang
- License: mit
- Created: 2018-09-02T19:45:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:37:53.000Z (about 2 years ago)
- Last Synced: 2024-11-29T18:31:07.574Z (2 months ago)
- Language: Vue
- Homepage:
- Size: 1.38 MB
- Stars: 23
- Watchers: 1
- Forks: 11
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Parcel Vue Demo
A Vue demo including Code Splitting, Hot Reloading, ESLint, Vuex, Vue Router and Less.
## :fire: Get Started
```bash
git clone [email protected]:proYang/vue-parcel-demo.git
cd vue-parcel-demo
npm install
# or
yarn install
```## :building_construction: Development
```bash
npm run dev
# or
yarn dev
```
the application opened `http://127.0.0.1:1234` in the browser default.## :rocket: Build
```bash
npm run build
# or
yarn build
```
the default output directory is `/dist`. You can change the destination in `package.json`.## :bento: Code Linting
```bash
npm run lint
# or
yarn lint
```
Linting your code by ESLint.Edit `.eslintrc.js` file to configure rules.
See:
- [http://eslint.org/docs/user-guide/configuring](http://eslint.org/docs/user-guide/configuring)
- [https://github.com/vuejs/eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue)## :package: Other Config
If you want to use other configs( port, public-url, out-dir... ), see the [Parcel official documentation](https://parceljs.org/) or submit the Issue.