New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ex-template-dev

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ex-template-dev

a smart project generator

  • 1.0.12
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

views module moduleName moduleTitle 读取 views.menu.json viewsMenu 检查 viewsMenu 中是否有同名的 module

读取 views.routes.json viewsRoutes 检查 viewsRoutes 中是否有同名的

读取 views 文件夹 检查 views 中是否有 moduleName 的文件夹

if(true) tipError
else push module
{
    path: moduleName,
    name: moduleName,
    title: moduleTitle,
	type: "module"
}
{
	"path": /moduleName,
	"name": moduleName,
	"meta": {
		"type": "module"
	}
}

view 选要添加 view 的 module = module.contact('views') moduleName viewName viewTitle moduleName === 'views'

views/view
{
    path: /viewName
    name: viewName
    title: viewTitle
    type: 'view'
}

module/view
{
    path:/
}

Keywords

FAQs

Package last updated on 24 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc