mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-29 16:30:12 +08:00
添加devDependencies
This commit is contained in:
parent
9cd49e725a
commit
2ca7c14dbc
10
generator.js
10
generator.js
@ -24,7 +24,12 @@ module.exports = (api, options, rootOptions) => {
|
|||||||
'@dcloudio/uni-h5': '^0.0.1'
|
'@dcloudio/uni-h5': '^0.0.1'
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
'@dcloudio/vue-cli-plugin-uni': '^0.0.1'
|
'@dcloudio/vue-cli-plugin-uni': '^0.0.1',
|
||||||
|
'download-git-repo': '^1.1.0',
|
||||||
|
'globby': '^8.0.1',
|
||||||
|
'ora': '^3.0.0',
|
||||||
|
'rimraf': '^2.6.2',
|
||||||
|
'user-home': '^2.0.0'
|
||||||
},
|
},
|
||||||
babel: {
|
babel: {
|
||||||
presets: [
|
presets: [
|
||||||
@ -41,9 +46,6 @@ module.exports = (api, options, rootOptions) => {
|
|||||||
vue: {
|
vue: {
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
assetsDir: 'static'
|
assetsDir: 'static'
|
||||||
},
|
|
||||||
vuePlugins: {
|
|
||||||
service: [path.resolve(__dirname, '../vue-cli-plugin-uni-app')]
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ module.exports = [{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Hello uni-app',
|
name: 'Hello uni-app',
|
||||||
value: 'direct:https://www.inkercloud.com/masterkong/hello-uniapp.zip'
|
value: 'hello uni-app'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '登录模板',
|
name: '登录模板',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user