-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools(project): Set up vite dev environment
- Loading branch information
Showing
10 changed files
with
1,513 additions
and
198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<template> | ||
<div id="app"> | ||
<div> | ||
<h1>Datepicker Integration Tests</h1> | ||
<div class="example"> | ||
<h3>Default datepicker...</h3> | ||
|
@@ -54,7 +54,7 @@ import Datepicker from '~/components/Datepicker.vue' | |
import * as lang from '~/locale/index' | ||
export default { | ||
name: 'Demo', | ||
name: 'App', | ||
components: { | ||
Datepicker, | ||
}, | ||
|
@@ -180,6 +180,8 @@ export default { | |
</script> | ||
|
||
<style> | ||
@import url('https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'); | ||
body { | ||
font-family: 'Helvetica Neue Light', Helvetica, sans-serif; | ||
padding: 1em 2em 2em; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { createVuePlugin } from 'vite-plugin-vue2' | ||
import path from 'path' | ||
|
||
export default { | ||
plugins: [createVuePlugin()], | ||
resolve: { | ||
alias: { | ||
'~': path.resolve(__dirname, '../src'), | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { createVuePlugin } from 'vite-plugin-vue2' | ||
import path from 'path' | ||
|
||
export default { | ||
plugins: [createVuePlugin()], | ||
resolve: { | ||
alias: { | ||
'~': path.resolve(__dirname, '../src'), | ||
}, | ||
}, | ||
} |
Oops, something went wrong.